测试接口
This commit is contained in:
@@ -270,3 +270,16 @@ func (c *JxOrderController) GetMyPriceDefendOrders() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 测试立马生成守价订单
|
||||
// @Description 测试立马生成守价订单
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /TestDefend [get]
|
||||
func (c *JxOrderController) TestDefend() {
|
||||
c.callTestDefend(func(params *tJxorderTestDefendParams) (retVal interface{}, errCode string, err error) {
|
||||
localjx.CreateOrderByPriceDefend(params.Ctx)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user