1
This commit is contained in:
@@ -70,6 +70,21 @@ func (c *JxOrderController) RefreshPayStatus() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 注册和注销门店扫码枪设备
|
||||
// @Description 注册和注销门店扫码枪设备
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeId formData int true "京西门店ID"
|
||||
// @Param operation formData string true "当前操作00-新增,02-注销"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /TerminalRegister [post]
|
||||
func (c *JxOrderController) TerminalRegister() {
|
||||
c.callTerminalRegister(func(params *tJxorderTerminalRegisterParams) (retVal interface{}, errCode string, err error) {
|
||||
err = localjx.AddStoreTerm(params.StoreId, params.Operation)
|
||||
return retVal, errCode, err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 到店扫码支付订单退款
|
||||
// @Description 到店扫码支付订单退款
|
||||
// @Param token header string true "认证token"
|
||||
|
||||
Reference in New Issue
Block a user