vault backup: 2025-12-04 09:12:56

This commit is contained in:
杜鹏飞
2025-12-04 09:12:56 +08:00
commit 71e83861de
300 changed files with 339584 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
# 生产环境
| 公网地址 | 域名 | 内网地址 | root密码 |
| ---- | ---- | ---- | ---- |
| 36.134.25.41 | www.zsxyj.cn | 192.168.0.16| 9Ugy8H4lml$Lq5 |
| 36.134.24.248 | api.zsxyj.cn | 192.168.0.4 | mGBy7zaPWTY9@A |
| 36.133.119.43 | file.zsxyj.cn| 192.168.0.8 | WH7uxkNGf_hWS1 |
| 36.133.118.106 | wx.zsxyj.cn | 192.168.0.2 | 4X1CT74_fZKz4z6 |
数据库 groupby group_concat 人口 设置
> https://blog.csdn.net/summer089089/article/details/106644750
> 账号 management wbc001
CQxyj@5689
> 移动云账号   ym17783015753   jxzqND62    
| 公网地址 | 内网地址 | 应用 |
| ---- | ---- | ---- |
| 36.133.118.106 | 192.168.0.2 | nginx  80:443:8100 后端服务 /opt midware,special,system,grid,assets,job |
| 36.134.24.248 | 192.168.0.4 | nginx  80:443:8100   minio:9000 nacos 服务 information |
| 36.133.119.43 | 192.168.0.8 | mysql主 8ll6qXg6%MZo?XCm9Pry |
| 36.134.25.41 | 192.168.0.16 | mysql从 前端地址 /opt/html 服务 applet,gateway,auth,file |
```
开放平台
603233610@qq.com 2688384a
```
nacos `nacos%20Ai`
![[生产环境配置.xlsx]]
## 直升一张图 小院家对接
> 18627850906 ZSxyjdj@1
# 测试环境
## 接口地址
>http://cqrcxy.860001.xyz:26001/doc.html#/home
![[荣昌小院生产环境配置.xlsx]]

View File

@@ -0,0 +1,97 @@
- #### 问专家-获取指定用户在一个时间范围内的所有提交问题的次数与办结率
- ###### 请求地址https://api.12316cq.com/api/askExpert/getTotalAsCompletionRate POST
- ###### 请求格式为了便于兼容原系统接口的加密规则所有接口均使用POST请求请求头为application/x-www-form-urlencoded推荐 或 content-type=multipart/form-data
- ###### 接口参数:
- ```
请求参数:
phones用户手机号多个以逗号隔开
startTime开始时间
endTime结束时间
注意:以下参数参照以前的加密逻辑
appcodeh5
ts:
rnd:
sig:
返回参数:
{
"code": "0",
"message": "成功",
"data": {
“sumSubmitCount”"60"// 用户累计提交问题次数
"completionRate": "50" // 办结率
}
}
```
- ###### 需要对手机号进行加密处理,下面是加密工具类
- ###### 加密工具类:
```
public class AESUtil {
private static byte[] encrypt(byte[] text, byte[] key) throws Exception {
SecretKeySpec aesKey = new SecretKeySpec(key, "AES");
Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding");
cipher.init(Cipher.ENCRYPT_MODE, aesKey);
return cipher.doFinal(text);
}
/**
* @desc 加密
* @param text 明文
* @param key 密钥
*/
public static String encodeAES(String text, String key) throws Exception {
byte[] keybBytes = DigestUtils.md5(key);
byte[] passwdBytes = text.getBytes();
byte[] aesBytyes = encrypt(passwdBytes, keybBytes);
return new String(Base64.encodeBase64(aesBytyes));
}
/**
* @desc 解密
* @param password 密文
* @param key 密钥
*/
public static String deCodeAES(String password, String key) throws Exception {
byte[] keybBytes = DigestUtils.md5(key);
byte[] debase64Bytes = Base64.decodeBase64(password.getBytes());
return new String(decrypt(debase64Bytes, keybBytes));
}
private static byte[] decrypt(byte[] text, byte[] key) throws Exception {
SecretKeySpec aesKey = new SecretKeySpec(key, "AES");
Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding");
cipher.init(Cipher.DECRYPT_MODE, aesKey);
return cipher.doFinal(text);
}
public static void main(String[] args) throws Exception {
String text = "15320345049";
String code = AESUtil.encodeAES(text, "密钥");
String t = AESUtil.deCodeAES(code, "密钥");
System.out.println("加密后 = " + text);
System.out.println("解密后 = " + t);
String tm = DesensitizationUtils.custNoDesensitization(phone);
System.out.println("tm = " + tm);
}
}
```