From 77eab0f93aceb9567dd0a77879d39ac61f5e0bac Mon Sep 17 00:00:00 2001
From: rx <auster_i@163.com>
Date: 星期三, 20 九月 2023 14:46:52 +0800
Subject: [PATCH] 用户完善资料方法更新

---
 phis-feign/src/main/java/com/hz/his/dto/user/usercompleteInfo/UserInfoCompleteDto.java       |   18 ++++++++++++++++--
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserInfoCompleteService.java |   30 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 2 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/user/completeInfo/UserInfoComplete.java b/phis-feign/src/main/java/com/hz/his/dto/user/usercompleteInfo/UserInfoCompleteDto.java
similarity index 93%
rename from phis-feign/src/main/java/com/hz/his/dto/user/completeInfo/UserInfoComplete.java
rename to phis-feign/src/main/java/com/hz/his/dto/user/usercompleteInfo/UserInfoCompleteDto.java
index caaa46f..32027cc 100644
--- a/phis-feign/src/main/java/com/hz/his/dto/user/completeInfo/UserInfoComplete.java
+++ b/phis-feign/src/main/java/com/hz/his/dto/user/usercompleteInfo/UserInfoCompleteDto.java
@@ -1,6 +1,10 @@
-package com.hz.his.dto.user.completeInfo;
+package com.hz.his.dto.user.usercompleteInfo;
 
-public class UserInfoComplete {
+
+/***
+ * 鐢ㄦ埛鎵爜瀹屽杽璧勬枡 dto
+ */
+public class UserInfoCompleteDto {
 
     //鐢ㄦ埛ID
     private String userId;
@@ -8,6 +12,8 @@
     private String name;
     //鎬у埆 0=鏈煡 1=鐢� 2=濂�
     private Integer gender;
+    //鎵嬫満鍙�
+    private String tel;
     //閭
     private String email;
     //璇佷欢绫诲瀷
@@ -67,6 +73,14 @@
         this.gender = gender;
     }
 
+    public String getTel() {
+        return tel;
+    }
+
+    public void setTel(String tel) {
+        this.tel = tel;
+    }
+
     public String getEmail() {
         return email;
     }
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserInfoCompleteService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserInfoCompleteService.java
new file mode 100644
index 0000000..d8297f3
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserInfoCompleteService.java
@@ -0,0 +1,30 @@
+package com.hz.his.feign.service.platform;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.user.usercompleteInfo.UserInfoCompleteDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+/**
+ * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
+ */
+@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-complete")
+
+public interface SPhipUserInfoCompleteService {
+
+
+    /**
+     * 寮�鏀惧钩鍙�-澶勭悊鎵爜鐢ㄦ埛瀹屽杽璧勬枡椤典俊鎭� (缂栬緫)
+     */
+    @PostMapping(value = "/user/complete/edit")
+    Result userCompleteEdit(@RequestBody UserInfoCompleteDto userInfoCompleteDto);
+
+
+    /**
+     * 寮�鏀惧钩鍙�-灞曠ず 瀹屽杽璧勬枡椤佃鎯呮暟鎹�
+     */
+    @PostMapping(value = "/user/complete/detail")
+    Result userCompleteDetail(@RequestBody UserInfoCompleteDto userInfoCompleteDto);
+
+}
\ No newline at end of file

--
Gitblit v1.8.0