|
@@ -0,0 +1,41 @@
|
|
|
|
+package com.qunzhixinxi.hnqz.admin.controller;
|
|
|
|
+
|
|
|
|
+import com.qunzhixinxi.hnqz.admin.entity.UserRecord;
|
|
|
|
+import com.qunzhixinxi.hnqz.admin.service.UserRecordSerivce;
|
|
|
|
+import com.qunzhixinxi.hnqz.common.core.util.R;
|
|
|
|
+import com.qunzhixinxi.hnqz.common.log.annotation.SysLog;
|
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * 用户回访记录
|
|
|
|
+ */
|
|
|
|
+@Slf4j
|
|
|
|
+@RestController
|
|
|
|
+@AllArgsConstructor
|
|
|
|
+public class SysUserRecord {
|
|
|
|
+
|
|
|
|
+ private UserRecordSerivce userRecordSerivce;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据UserId查询回访列表
|
|
|
|
+ */
|
|
|
|
+ @SysLog("用户管理-认证-确定")
|
|
|
|
+ @GetMapping("/user/record/{userid}")
|
|
|
|
+ public R<?> getUserRecordList(@PathVariable("userid") Integer userId ){
|
|
|
|
+ return R.ok(userRecordSerivce.getUserRecordList(userId));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据UserId上传回访记录
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 根据RecordId删除回访记录
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+}
|