订单打款修改
This commit is contained in:
@@ -131,33 +131,31 @@ func (c *JxOrderController) GetMyOrderCountInfo() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 每日订单分账
|
||||
// @Description 每日订单分账
|
||||
// @Title 每日订单打款
|
||||
// @Description 每日订单打款
|
||||
// @Param token header string true "认证token"
|
||||
// @Param isAsync formData bool false "是否异步操作"
|
||||
// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /AutoPayForPopluarMan [post]
|
||||
func (c *JxOrderController) AutoPayForPopluarMan() {
|
||||
c.callAutoPayForPopluarMan(func(params *tJxorderAutoPayForPopluarManParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = localjx.AutoPayForPopluarMan(params.Ctx, params.IsAsync, params.IsContinueWhenError)
|
||||
err = localjx.AutoPayForPopluarMan(params.Ctx)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 订单分账
|
||||
// @Description 订单分账
|
||||
// @Title 订单打款
|
||||
// @Description 订单打款
|
||||
// @Param token header string true "认证token"
|
||||
// @Param transactionID formData string true "微信订单ID"
|
||||
// @Param vendorOrderID formData string true "订单ID"
|
||||
// @Param userID formData string true "userID"
|
||||
// @Param price formData int true "钱"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /PayForPopluarMan [post]
|
||||
func (c *JxOrderController) PayForPopluarMan() {
|
||||
c.callPayForPopluarMan(func(params *tJxorderPayForPopluarManParams) (retVal interface{}, errCode string, err error) {
|
||||
err = localjx.PayForPopluarMan(params.Ctx, params.TransactionID, params.VendorOrderID, params.UserID)
|
||||
err = localjx.PayForPopluarMan(params.Ctx, params.VendorOrderID, params.UserID, params.Price)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user