抢购配置读取从表
This commit is contained in:
@@ -39,6 +39,8 @@ public interface ILbGoodsService extends IService<LbGoods> {
|
||||
/**
|
||||
* 按 {@code total_money} 从大到小选取金额小于39000的 {@code lb_goods},调用 hxrd {@code /api/order/buy} 抢购;
|
||||
* 成功笔数达到 {@code maxBuyCount} 后停止,且循环抢购总次数不超过 {@code maxBuyCount} 的5倍。
|
||||
*
|
||||
* @param token 可选;非空时作为请求头 token,否则使用 {@code lb_third_integration_config} 中的 goodsApiToken
|
||||
*/
|
||||
Map<String, Object> rushBuy(String token, Integer maxBuyCount);
|
||||
Map<String, Object> rushBuy(String tenantId, String token, Integer maxBuyCount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user