|
|
@@ -5,14 +5,17 @@ import java.util.Objects;
|
|
|
|
|
|
import cn.hutool.core.collection.CollectionUtil;
|
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
|
+import com.fs.common.core.domain.R;
|
|
|
import com.fs.common.exception.ServiceException;
|
|
|
import com.fs.qw.param.QwExternalContactParam;
|
|
|
import com.fs.qw.param.QwTagSearchParam;
|
|
|
+import com.fs.qw.service.IQwExternalContactInfoService;
|
|
|
import com.fs.qw.service.IQwTagService;
|
|
|
import com.fs.qw.vo.QwExternalContactUnionIdExportVO;
|
|
|
import com.fs.qw.vo.QwExternalContactVO;
|
|
|
import com.google.gson.Gson;
|
|
|
import com.google.gson.reflect.TypeToken;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
@@ -33,7 +36,7 @@ import com.fs.common.core.page.TableDataInfo;
|
|
|
|
|
|
/**
|
|
|
* 企业微信客户Controller
|
|
|
- *
|
|
|
+ *
|
|
|
* @author fs
|
|
|
* @date 2025-06-13
|
|
|
*/
|
|
|
@@ -44,6 +47,9 @@ public class QwExternalContactController extends BaseController
|
|
|
private IQwExternalContactService qwExternalContactService;
|
|
|
private IQwTagService iQwTagService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private IQwExternalContactInfoService qwExternalContactInfoService;
|
|
|
+
|
|
|
QwExternalContactController(IQwExternalContactService qwExternalContactService,IQwTagService iQwTagService){
|
|
|
this.qwExternalContactService=qwExternalContactService;
|
|
|
this.iQwTagService=iQwTagService;
|
|
|
@@ -168,4 +174,11 @@ public class QwExternalContactController extends BaseController
|
|
|
{
|
|
|
return toAjax(qwExternalContactService.deleteQwExternalContactByIds(ids));
|
|
|
}
|
|
|
+
|
|
|
+ @GetMapping(value = "getUserInfo/{id}")
|
|
|
+ public R getUserInfo(@PathVariable("id") Long id)
|
|
|
+ {
|
|
|
+ return R.ok().put("data",qwExternalContactInfoService.selectQwExternalContactInfoByExternalContactId(id));
|
|
|
+ }
|
|
|
+
|
|
|
}
|