1
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/permission"
|
||||
"git.rosy.net.cn/jx-callback/business/partner/delivery"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -550,6 +551,15 @@ func (c *OrderController) StaleIndexInfo() {
|
||||
return retVal, "", fmt.Errorf("于该用户%s,暂无门店信息", ctx.GetUserName())
|
||||
}
|
||||
|
||||
if params.Ctx.GetUserID() == "68F2F1F41BF211F0A561525400E86DC0" {
|
||||
globals.SugarLogger.Debugf("---------timeList:= %s,%s", utils.Time2Str(timeList[0]), utils.Time2Str(timeList[1]))
|
||||
globals.SugarLogger.Debugf("---------timeList:= %s,%s", utils.Time2Str(timeList[0]), utils.Time2Str(timeList[1]))
|
||||
globals.SugarLogger.Debugf("---------StoreID:= %d", params.StoreID)
|
||||
globals.SugarLogger.Debugf("---------brandIds:= %s", utils.Format4Output(brandIds, false))
|
||||
globals.SugarLogger.Debugf("---------vendors:= %s", utils.Format4Output(vendors, false))
|
||||
globals.SugarLogger.Debugf("---------dataList:= %s", utils.Format4Output(dataList, false))
|
||||
|
||||
}
|
||||
retVal, err = orderman.FixedOrderManager.GetStoresOrderSaleInfo2(params.Ctx, timeList[0], timeList[1], params.StoreID, brandIds, vendors, dataList)
|
||||
return retVal, "", err
|
||||
})
|
||||
|
||||
@@ -85,6 +85,20 @@ func (c *JxOrderController) TerminalRegister() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 查询门店扫码枪设备状态
|
||||
// @Description 查询门店扫码枪设备状态
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeId formData int true "京西门店ID"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /TerminalQuery [post]
|
||||
func (c *JxOrderController) TerminalQuery() {
|
||||
c.callTerminalQuery(func(params *tJxorderTerminalQueryParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = localjx.QueryStoreTerm(params.StoreId)
|
||||
return retVal, errCode, err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 到店扫码支付订单退款
|
||||
// @Description 到店扫码支付订单退款
|
||||
// @Param token header string true "认证token"
|
||||
|
||||
Reference in New Issue
Block a user