From 4de991e772e3849626423bd99c84f267110b188d Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 01 八月 2022 16:07:15 +0800
Subject: [PATCH] bug修改
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java | 48 +++++++++++++++++++++++++++++++++++++++---------
1 files changed, 39 insertions(+), 9 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java
index 5f4175c..9e88493 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java
@@ -12,7 +12,7 @@
* @author: huang.hongfa weixin hhf9596 qq 959656820
* @create: 2020-11-24 09:18
**/
-@FeignClient(name = "auth")
+@FeignClient(name = "huacheng-auth")
public interface TokenService {
/**
* 小程序用户登录
@@ -22,7 +22,7 @@
* @return 登录结果
*/
@PostMapping("/loginApplets")
- R loginApplets(@RequestParam("openId") String openId);
+ R loginApplets(@RequestParam("openId") String openId,@RequestParam("appid")String appid);
/**
* 用户登出
@@ -44,7 +44,7 @@
* @return 登录结果
*/
@PostMapping("/loginCommunityBackage")
- R loginCommunityBackage(@RequestParam("account") String account, @RequestParam("password") String password);
+ R loginCommunityBackage(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
/**
* 小程序后台登录
@@ -56,7 +56,7 @@
* @return 登录结果
*/
@PostMapping("/loginAppletsBackStage")
- R loginAppletsBackStage(@RequestParam("account") String account, @RequestParam("password") String password);
+ R loginAppletsBackStage(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
/**
* 认证中心刷新token
@@ -78,7 +78,7 @@
* @return 登录结果
*/
@PostMapping("/loginShopBackStage")
- R loginShopBackStage(@RequestParam("account") String account, @RequestParam("password") String password);
+ R loginShopBackStage(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
/**
* 网格综治APP登录
@@ -90,7 +90,7 @@
* @return 登录结果
*/
@PostMapping("/loginGridApp")
- R loginGridApp(@RequestParam("account") String account, @RequestParam("password") String password);
+ R loginGridApp(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
/**
* 网格综治后台登录
@@ -102,7 +102,7 @@
* @return 登录结果
*/
@PostMapping("/loginGridBackstage")
- R loginGridBackstage(@RequestParam("account") String account, @RequestParam("password") String password);
+ R loginGridBackstage(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
/**
* 城管后台登录
@@ -111,7 +111,16 @@
* @return 登录结果
*/
@PostMapping("/loginCgBackage")
- R loginCgBackage(@RequestParam("account") String account, @RequestParam("password") String password);
+ R loginCgBackage(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
+
+ /**
+ * 一键报警APP登录
+ * @param account 账号
+ * @param password 密码
+ * @return 登录结果
+ */
+ @PostMapping("/loginAlarmApp")
+ R loginAlarmApp(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
/**
* 便民服务商家后台登录
@@ -123,5 +132,26 @@
* @return 登录结果
*/
@PostMapping("/loginMerchantBackStage")
- R loginMerchantBackStage(@RequestParam("account") String account, @RequestParam("password") String password);
+ R loginMerchantBackStage(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
+
+ /**
+ * 西区大屏登录
+ * @param account 账号
+ * @param password 密码
+ * @return 登录结果
+ */
+ @PostMapping("/loginXQDP")
+ R loginXQDP(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
+
+ /**
+ * 微商业街用户登录
+ *
+ * @param account
+ * 账户
+ * @param password
+ * 密码
+ * @return 登录结果
+ */
+ @PostMapping("/loginMcsUser")
+ R loginMcsUser(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid);
}
--
Gitblit v1.7.1