This commit is contained in:
邹宗楠
2025-04-28 10:06:21 +08:00
parent 0c30e34be5
commit 40e8c79ff1
3 changed files with 54 additions and 0 deletions

View File

@@ -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"