|
|
|
@@ -382,4 +382,17 @@ public class WxMerchantController extends BaseController { |
|
|
|
return resultData; |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("根据id查询接口") |
|
|
|
@GetMapping("/findttById") |
|
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) |
|
|
|
@SystemControllerLog(description = "商户-查询") |
|
|
|
public ResultData findttMerchantById(Long id) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxMerchantController::findMerchantById"); |
|
|
|
if(id == null){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); |
|
|
|
} |
|
|
|
WxMerchant wxMerchant = wxMerchantService.selectById(id); |
|
|
|
return new ResultData(wxMerchant); |
|
|
|
} |
|
|
|
|
|
|
|
} |