Commit 7e29125b by guojuxing

微盟店铺卡券配置接口

parent 51a67d5a
......@@ -216,6 +216,9 @@ public class WmStoreApiServiceImpl implements WmStoreApiService {
.getCouponConfig(new CouponConfigQO()
.setWmMainAccount(wmStore.getWmMainAccount())
.setGicCouponId(couponId.toString()));
if (gicRecord == null) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "未绑定");
}
return ServiceResponse.success(Long.valueOf(gicRecord.getWmCouponId()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment