helixiao 1 год назад
Родитель
Сommit
ced5462df3

+ 2 - 3
linkwe-api/src/main/java/com/linkwechat/controller/WeCustomerController.java

@@ -194,10 +194,9 @@ public class WeCustomerController extends BaseController {
      */
     @GetMapping("/findWeCustomerBaseInfo")
     public AjaxResult<WeCustomerDetailInfoVo> findWeCustomerBaseInfo(String externalUserid, String userId, @RequestParam(defaultValue = "0") Integer delFlag){
+        WeCustomerDetailInfoVo weCustomerDetail = weCustomerService.findWeCustomerDetail(externalUserid, userId, null);
 
-        return AjaxResult.success(
-                weCustomerService.findWeCustomerDetail(externalUserid,userId,null)
-        );
+        return AjaxResult.success(weCustomerDetail);
     }
 
 

+ 1 - 0
linkwe-service/src/main/resources/mapper/wecom/WeCustomerMapper.xml

@@ -200,6 +200,7 @@
         wc.email,
         wc.address,
         wc.qq,
+        wc.source,
         wc.position,
         wc.corp_name as corpName,
         wc.other_descr as otherDescr,