|
|
@@ -325,4 +325,17 @@ public class WxCorpController {
|
|
|
corpService.postAcquistionLinkCallback(id);
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改 意向
|
|
|
+ */
|
|
|
+ @PutMapping("/upCallbackIntention")
|
|
|
+ public Result<String> upCallbackIntention(@RequestBody CorpCustomerAcquistionCallback corpCustomerAcquistionCallback){
|
|
|
+ log.info("修改意向:{}", corpCustomerAcquistionCallback);
|
|
|
+ if(corpCustomerAcquistionCallback.getId() == null || corpCustomerAcquistionCallback.getId() == 0 || corpCustomerAcquistionCallback.getIntention() == null){
|
|
|
+ throw BusinessRuntimeException.getInstance("缺少必填参数.");
|
|
|
+ }
|
|
|
+ corpService.upCallbackIntention(corpCustomerAcquistionCallback);
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
|
+ }
|
|
|
}
|