1
This commit is contained in:
@@ -1427,3 +1427,19 @@ func (c *OrderController) GetRiderLng() {
|
||||
return rider, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 手动更新抖音门店结算信息
|
||||
// @Description 手动更新抖音门店结算信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeId formData int false "门店id"
|
||||
// @Param startTime formData string true "开始时间"
|
||||
// @Param endTime formData string true "结束时间"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /UpdateTiktokSettlement [post]
|
||||
func (c *OrderController) UpdateTiktokSettlement() {
|
||||
c.callUpdateTiktokSettlement(func(params *tOrderUpdateTiktokSettlementParams) (interface{}, string, error) {
|
||||
err := orderman.UpdateTiktokShopTotalMoney(int64(params.StoreId), utils.Str2Time(params.StartTime), utils.Str2Time(params.EndTime))
|
||||
return nil, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user