From 80a110121924893b310df19e9e25019bd2c81ca1 Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期三, 24 八月 2022 15:32:31 +0800
Subject: [PATCH] uu洗车小程序码
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
index e120fcc..0222238 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
@@ -45,7 +45,7 @@
*/
@PostMapping("/addOrUpdate")
R addOrUpdate(@RequestParam("openid") String openid, @RequestParam("sessionKey") String sessionKey,
- @RequestParam("unionid") String unionid);
+ @RequestParam("unionid") String unionid,@RequestParam("appId")String appId);
/**
* 维护小程序用户基本信息 头像 昵称 性别
@@ -143,6 +143,9 @@
*/
@GetMapping("resetPassword")
R resetPassword(@RequestParam("userId") Long userId);
+
+ @GetMapping("/resetPasswordAccount")
+ R resetPasswordAccount(@RequestParam("type")Integer type,@RequestParam("account")String account);
/**
* 批量重置密码用户登录密码默认admin123456
@@ -536,7 +539,7 @@
* @return 协议内容
*/
@PostMapping("useragreement")
- R userAgreement(@RequestParam("type") int type);
+ R userAgreement(@RequestParam("type") int type,@RequestParam("appid")String appId);
/**
* uu洗车登录
@@ -697,7 +700,7 @@
* @return 协议内容
*/
@PostMapping("agreement")
- R agreement(@RequestParam("type") Integer type);
+ R agreement(@RequestParam("type") Integer type,@RequestParam("appId")String appId);
/**
* 维护用户最后登录时间
@@ -1231,20 +1234,20 @@
@GetMapping("/indexData/totalData")
R newIndexData(@RequestParam(value = "type",required = false) Integer type,
@RequestParam(value = "type",required = false) Long streetId,
- @RequestParam(value = "areaCode",required = false) Long areaCode);
+ @RequestParam(value = "areaCode",required = false) Long areaCode,@RequestParam("appId")String appId);
@GetMapping("/indexData/userRate")
R userRate(@RequestParam(value = "type",required = false) Integer type,
@RequestParam(value = "streetId",required = false) Long streetId,
@RequestParam(value = "areaCode",required = false) Long areaCode,
- @RequestParam(value = "range",required = false) Integer range);
+ @RequestParam(value = "range",required = false) Integer range,@RequestParam(value = "appId",required = false) String appId);
@GetMapping("/indexData/realUser")
R realUser(@RequestParam(value = "type",required = false) Integer type,
@RequestParam(value = "streetId",required = false) Long streetId,
@RequestParam(value = "areaCode",required = false) Long areaCode,
- @RequestParam(value = "range",required = false) Integer range);
+ @RequestParam(value = "range",required = false) Integer range,@RequestParam(value = "appId",required = false) String appId);
@GetMapping("/indexData/userActivity")
R userActivity(@RequestParam(value = "type",required = false) Integer type,
@@ -1254,8 +1257,6 @@
@GetMapping("/indexData/getAreaAndStreet")
R getAreaAndStreet();
-
-
/**
* uu洗车推送
* @param washPhone
@@ -1269,4 +1270,8 @@
@GetMapping("/communityList")
R communityList(@RequestParam("name") String name, @RequestParam("id") Long id);
+
+
+ @PostMapping("/tfLogin")
+ R tfLogin(@RequestBody UuLoginVO uuLoginVO);
}
--
Gitblit v1.7.1