Commit 051c8f99 by guojuxing

查询已经配置的会员卡

parent 11e427e5
......@@ -359,7 +359,11 @@ public class WmMallStoreController {
*/
@RequestMapping("/get-has-config-member-card")
public RestResponse getHasConfigMemberCard(Integer wmMallStoreId) {
return ResultControllerUtils.commonResult(weimobMerchantService.getMcuAreaId(wmMallStoreId));
ServiceResponse<Long> result = weimobMerchantService.getMcuAreaId(wmMallStoreId);
if (result.isSuccess()) {
return RestResponse.success(result.getResult().toString());
}
return RestResponse.failure(result.getCode(), result.getMessage());
}
/**
......
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