|
|
|
@@ -217,4 +217,13 @@ public class WxMerchantController extends BaseController { |
|
|
|
return wxMerchantService.useAccount(wxProfitSharingReceiver); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("查看是否存在商户名称相同记录") |
|
|
|
@GetMapping("/hasMerchant") |
|
|
|
@SystemControllerLog(description = "商户-查看是否存在商户名称相同记录") |
|
|
|
public ResultData hasMerchant(@ModelAttribute WxMerchant wxMerchant) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxMerchantController::hasMerchant"); |
|
|
|
boolean has = wxMerchantService.hasMerchant(wxMerchant); |
|
|
|
return new ResultData(has); |
|
|
|
} |
|
|
|
|
|
|
|
} |