From c6232cfc36e373f83f45c95d400e09466cc2a7d3 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期五, 14 十月 2022 17:41:45 +0800
Subject: [PATCH] #feat 修改运营平台统计登录人数和新增人员

---
 springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java |  102 ++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 97 insertions(+), 5 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java
index 165afd4..1563eab 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java
@@ -11,6 +11,7 @@
 import com.panzhihua.common.model.dtos.community.microCommercialStreet.BindUserPhoneDTO;
 import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO;
 import com.panzhihua.common.model.dtos.grid.*;
+import com.panzhihua.common.model.dtos.partybuilding.ComPbCheckUserDTO;
 import com.panzhihua.common.model.dtos.user.PageFeedBackDTO;
 import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO;
 import com.panzhihua.common.model.dtos.user.SysUserEditTipsDTO;
@@ -18,6 +19,7 @@
 import com.panzhihua.common.model.vos.*;
 import com.panzhihua.common.model.vos.shop.ShopStoreVO;
 import com.panzhihua.common.model.vos.user.*;
+import org.springframework.web.bind.annotation.RequestParam;
 
 /**
  * @program: springcloud_k8s_panzhihuazhihuishequ
@@ -37,7 +39,7 @@
      *            用户在开放平台的唯一标识符
      * @return token
      */
-    R updateInsertUser(String openid, String sessionKey, String unionid);
+    R updateInsertUser(String openid, String sessionKey, String unionid,String appId);
 
     /**
      * 维护小程序用户基本信息 头像 昵称 性别
@@ -74,7 +76,7 @@
      * @param type
      *            用户类型 用户类型 1 小程序 2 运营平台 3 社区平台
      */
-    R<LoginUserInfoVO> getUserInfo(String name, int type);
+    R<LoginUserInfoVO> getUserInfo(String name, int type,String appId);
 
     /**
      * 三端获取登录用户信息
@@ -355,7 +357,7 @@
      *            所属app 1居民端app 2网格员端app 3商家端app
      * @return 协议内容
      */
-    R userAgreement(int type);
+    R userAgreement(int type,String appId);
 
     /**
      * 意见反馈
@@ -477,7 +479,7 @@
      *            1居民端app协议 2网格员端app协议 3商家端app协议 4隐私政策
      * @return 协议内容
      */
-    R agreement(Integer type);
+    R agreement(Integer type,String appId);
 
     /**
      * 维护用户最后登录时间
@@ -845,5 +847,95 @@
      */
     R uuLogin(UuLoginVO uuLoginVO);
 
-    R newIndexData(Integer type, Long streetId);
+    /**
+     * 导出验证密码
+     * @param account
+     * @param password
+     * @return
+     */
+    R checkExport(@RequestParam("account")String account, @RequestParam("password")String password,@RequestParam("oldPassword")String oldPassword);
+
+    /**
+     * 数据看板:数据总览
+     * @param type 查看类型
+     * @param streetId 街道id
+     * @param areaCode 区县code
+     * */
+    R newIndexData(Integer type, Long streetId,Long areaCode,String appid);
+
+    /**
+     * 用户占比统计
+     * @param type 查看类型
+     * @param streetId 街道id
+     * @param areaCode 区县code
+     * @param range  */
+    R userRate(Integer type, Long streetId, Long areaCode, Integer range,String appId);
+
+    /**
+     * 真实用户占比统计
+     * @param type 查看类型
+     * @param streetId 街道id
+     * @param areaCode 区县code
+     * @param range  */
+    R realUser(Integer type, Long streetId, Long areaCode, Integer range,String appId);
+
+
+    /**
+     * 用户行为折线图
+     * @param type 查看类型
+     * @param streetId 街道id
+     * @param areaCode 区县code
+     * @param range
+     * @param appId    */
+    R userActivity(Integer type, Long streetId, Long areaCode, Integer range, String appId);
+
+    /**
+     * 获取区县即下属街道名
+     * */
+    R getAreaAndStreet();
+
+    /**
+     * uu洗车通知推送
+     * @param phone
+     * @param orderStatus
+     * @return
+     */
+    R uuPush(@RequestParam("washPhone")String washPhone,@RequestParam("phone")String phone,@RequestParam("washName")String washName,@RequestParam("orderStatus")Integer orderStatus);
+
+    /**
+     * 无水洗车通知推送
+     * @param phone
+     * @param orderStatus
+     * @return
+     */
+    R wsPush(@RequestParam("washPhone")String washPhone,@RequestParam("phone")String phone,@RequestParam("washName")String washName,@RequestParam("orderStatus")Integer orderStatus);
+
+    /**
+     * 获取城镇或村落列表
+     * */
+    R getCommunityList(String name,Long id);
+
+    /**
+     * 重置密码
+     * @param type
+     * @param account
+     * @return
+     */
+    R resetPassword(Integer type,String account,String appId);
+
+    /**
+     * 天府通办登录
+     * @param uuLoginVO
+     * @return
+     */
+    R tfLogin(UuLoginVO uuLoginVO);
+
+    /**
+     * 用户授权
+     * @param userId
+     * @return
+     */
+    R accept(Long userId);
+
+    R addComPbCheckUser(ComPbCheckUserDTO comPbCheckUserDTO);
 }

--
Gitblit v1.7.1