vault backup: 2024-10-25 19:52:19
This commit is contained in:
parent
5de41b4089
commit
e015123b93
|
|
@ -13,13 +13,26 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "README.md",
|
"file": "Spark搭建/spark-streaming.md",
|
||||||
|
"mode": "source",
|
||||||
|
"source": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ccb94e79088620cb",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "markdown",
|
||||||
|
"state": {
|
||||||
|
"file": "Spark搭建/liu.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"currentTab": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "vertical"
|
"direction": "vertical"
|
||||||
|
|
@ -85,7 +98,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "README.md",
|
"file": "Spark搭建/liu.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
|
|
@ -102,7 +115,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "README.md",
|
"file": "Spark搭建/liu.md",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
}
|
}
|
||||||
|
|
@ -125,7 +138,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "README.md"
|
"file": "Spark搭建/liu.md"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -155,13 +168,17 @@
|
||||||
"obsidian-git:Open Git source control": false
|
"obsidian-git:Open Git source control": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "78f6b03712f9678a",
|
"active": "ccb94e79088620cb",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"Spark搭建/scala与rdd编程.md",
|
"Spark搭建/spark-streaming.md",
|
||||||
"README.md.md",
|
|
||||||
"README.md",
|
"README.md",
|
||||||
"Spark搭建/images/workers.png",
|
"Spark搭建/spark-sql.md",
|
||||||
|
"Spark搭建/liu.md",
|
||||||
|
"Spark搭建/scala与rdd编程.md",
|
||||||
|
"未命名.md",
|
||||||
"Spark搭建/01.md",
|
"Spark搭建/01.md",
|
||||||
|
"README.md.md",
|
||||||
|
"Spark搭建/images/workers.png",
|
||||||
"HaiNiuHadoop搭建/1.环境安装.md",
|
"HaiNiuHadoop搭建/1.环境安装.md",
|
||||||
"HaiNiuHadoop搭建/images/000001.png",
|
"HaiNiuHadoop搭建/images/000001.png",
|
||||||
"2024-09-18.md",
|
"2024-09-18.md",
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,154 @@
|
||||||
|
面板地址:http://8.136.98.104:8888/94a38c61
|
||||||
|
用户名:xd7liy29
|
||||||
|
密码:35997cf5
|
||||||
|
|
||||||
|
线上数据库
|
||||||
|
ip:8.136.98.104
|
||||||
|
username: sale_shop_sql
|
||||||
|
password: Fhhbj77t8PiBwZfk
|
||||||
|
|
||||||
|
可用域名
|
||||||
|
app.xtbssh.com
|
||||||
|
manage.xtbssh.com
|
||||||
|
shop.xtbssh.com
|
||||||
|
supplier.xtbssh.com
|
||||||
|
agent.xtbssh.com
|
||||||
|
|
||||||
|
墨刀
|
||||||
|
https://modao.cc/app/lLpVYc5Qs9wodpiUykyqU #星斗堂效果图-分享
|
||||||
|
https://modao.cc/app/vdyMYyeZs92ypjUhNoQH2 #星斗堂后台原型-分享
|
||||||
|
https://modao.cc/app/VEUj338Ysbo5jjMiBhedD3 #星斗堂-商家&代理商-分享
|
||||||
|
|
||||||
|
接口缺失
|
||||||
|
https://shimo.im/sheets/XKq42enQmpSrDLAN/3nOXa
|
||||||
|
|
||||||
|
|
||||||
|
0.配置
|
||||||
|
商户业务开通: https://paas.huifu.com/partners/api/#/shgl/shywkt/api_shjj_shywkt_kyc
|
||||||
|
开通延迟: delay_flag = Y
|
||||||
|
分账配置: split_conf_info
|
||||||
|
1.企业用户开户 https://paas.huifu.com/partners/api/#/yhgl/api_yhgl_qyyhjbxxzc
|
||||||
|
个人用户开户 https://paas.huifu.com/partners/api/#/yhgl/api_yhgl_gryhjbxxzc
|
||||||
|
用户业务入驻 https://paas.huifu.com/partners/api/#/yhgl/api_yhgl_ywrz
|
||||||
|
2.聚合正扫接口 https://paas.huifu.com/partners/api/#/smzf/api_jhzs
|
||||||
|
如果延迟分账:delay_acct_flag = Y
|
||||||
|
3.交易确认接口 https://paas.huifu.com/partners/api/#/smzf/api_jyqr
|
||||||
|
|
||||||
|
免感词、敏感图:
|
||||||
|
腾讯云数据万象产品:内容审核包、基础图片处理包
|
||||||
|
接口文档:https://cloud.tencent.com/document/product/460/56285
|
||||||
|
SecretId:AKID1wiJjwvfEZjiTzJPFJORbiimqlU2Towp
|
||||||
|
SecretKey:nXGoM2hHwUCm9Nn58wb8tiRG4xmWL5rX
|
||||||
|
|
||||||
|
[//]: # (即时通讯:)
|
||||||
|
|
||||||
|
[//]: # (SDKappid:1600036400)
|
||||||
|
|
||||||
|
[//]: # (密钥:c465d1d956bdc9bc3b37d7a71459b376f3741d3ea9c3a0b1dade35b9e093ea24)
|
||||||
|
|
||||||
|
阿里云物流
|
||||||
|
AppKey:204599373
|
||||||
|
AppSecret:6gbI9RscmZSRzzDKIq9kw1NqRErqvFZS
|
||||||
|
AppCode:f2dd4743c1ea43acb20fe00ba2b464b0
|
||||||
|
|
||||||
|
阿里云(短信...):
|
||||||
|
AccessKey ID:LTAI4G5B3ukNjstj4pb5HqDo
|
||||||
|
AccessKey Secret: 192Sg99sW3rRRqeYOEpskxxj8iKexL
|
||||||
|
- 模板名称
|
||||||
|
用户注册验证码
|
||||||
|
模板CODE
|
||||||
|
SMS_201690237
|
||||||
|
模板内容
|
||||||
|
验证码${code},您正在注册成为新用户,感谢您的支持!
|
||||||
|
- 模板名称
|
||||||
|
登录确认验证码
|
||||||
|
模板CODE
|
||||||
|
SMS_201690239
|
||||||
|
模板内容
|
||||||
|
验证码${code},您正在登录,若非本人操作,请勿泄露。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
飘儿:
|
||||||
|
全国快递物流查询-快递查询接口
|
||||||
|
https://market.aliyun.com/products/57002002/cmapi021863.html?spm=5176.2020520132.101.20.54367218EQFsfm#sku=yuncode15863000017
|
||||||
|
|
||||||
|
AppKey:204599373 AppSecret:6gbI9RscmZSRzzDKIq9kw1NqRErqvFZS 复制
|
||||||
|
|
||||||
|
AppCode:f2dd4743c1ea43acb20fe00ba2b464b0复制
|
||||||
|
|
||||||
|
飘儿:
|
||||||
|
银行卡四要素-银行卡实名认证-银行卡四要素实名认证-银行卡四要素-银行卡三要素-银行卡三要素实名认证-银行卡四要素实名认证
|
||||||
|
|
||||||
|
https://market.aliyun.com/products/57000002/cmapi00038220.html?spm=5176.2020520132.101.3.54367218EQFsfm#sku=yuncode32220000019
|
||||||
|
|
||||||
|
AppKey:204599373 AppSecret:6gbI9RscmZSRzzDKIq9kw1NqRErqvFZS 复制
|
||||||
|
|
||||||
|
AppCode:f2dd4743c1ea43acb20fe00ba2b464b0复制
|
||||||
|
|
||||||
|
飘儿:
|
||||||
|
云盾身份认证(三要素)--三网分别计费
|
||||||
|
|
||||||
|
https://market.aliyun.com/products/57000002/cmapi029847.html?spm=5176.2020520132.101.11.54367218EQFsfm
|
||||||
|
|
||||||
|
|
||||||
|
AppKey:204599373 AppSecret:6gbI9RscmZSRzzDKIq9kw1NqRErqvFZS 复制
|
||||||
|
|
||||||
|
AppCode:f2dd4743c1ea43acb20fe00ba2b464b0复制
|
||||||
|
|
||||||
|
微信开放平台登录相关:
|
||||||
|
APPID:wx90bee3d5b5fab015
|
||||||
|
AppSecret:ebb83f020a407649f1704087049d8fee
|
||||||
|
|
||||||
|
用户端AppID(小程序ID)wxd793ec38351a0987
|
||||||
|
AppSecret(小程序密钥)b269ca6427da37548efe66e666ff86e9
|
||||||
|
|
||||||
|
商家AppID(小程序ID)wxe37e851ff4d67681
|
||||||
|
AppSecret(小程序密钥)699d5e26876bea4969483caeaf63d652
|
||||||
|
|
||||||
|
```java
|
||||||
|
@Autowired
|
||||||
|
private SettingUtils settingUtils;
|
||||||
|
@Autowired
|
||||||
|
private UploadFactory uploadFactory;
|
||||||
|
/**
|
||||||
|
* 上传文件
|
||||||
|
* @param multipartFile
|
||||||
|
*/
|
||||||
|
public synchronized void upload(MultipartFile multipartFile, UploadFile file) throws Exception {
|
||||||
|
StorageVo storageVo;
|
||||||
|
// 获取当前的HttpServletRequest对象
|
||||||
|
ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
|
||||||
|
HttpServletRequest request = attributes.getRequest();
|
||||||
|
// 请求路径 /api/admin/file/upload/image
|
||||||
|
String path = request.getRequestURI();
|
||||||
|
if(path.startsWith("/api/admin/file/upload/image")){
|
||||||
|
//获取admin端配置
|
||||||
|
JSONObject vo = settingUtils.getSetting(SettingEnum.SYS_CONFIG.getKey(), 0L);
|
||||||
|
JSONObject storage = vo.getJSONObject("storageVo");
|
||||||
|
storageVo = JSONObject.toJavaObject(storage, StorageVo.class);
|
||||||
|
}else {
|
||||||
|
//获取shop端配置
|
||||||
|
JSONObject vo = settingUtils.getSetting(SettingEnum.STORAGE.getKey(), null);
|
||||||
|
storageVo = JSONObject.toJavaObject(vo, StorageVo.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
UploadFactoryService service = uploadFactory.getService(storageVo.getCurrent());
|
||||||
|
// 保存文件名
|
||||||
|
String originalFilename = multipartFile.getOriginalFilename();
|
||||||
|
String saveFileName = new DefaultUploadFileNameHandleImpl().handle(originalFilename);
|
||||||
|
// 开始上传
|
||||||
|
service.upload(multipartFile, saveFileName);
|
||||||
|
file.setFileName(saveFileName);
|
||||||
|
file.setStorage(storageVo.getCurrent());
|
||||||
|
if(StorageEnum.QINIU.getValue().equals(storageVo.getCurrent())){
|
||||||
|
file.setFileUrl(storageVo.getQiNiu().getDomain());
|
||||||
|
}else if(StorageEnum.ALIYUN.getValue().equals(storageVo.getCurrent())){
|
||||||
|
file.setFileUrl(storageVo.getAliYun().getDomain());
|
||||||
|
}else if(StorageEnum.QCLOUD.getValue().equals(storageVo.getCurrent())){
|
||||||
|
file.setFileUrl(storageVo.getQCloud().getDomain());
|
||||||
|
}else if(StorageEnum.HWCLOUD.getValue().equals(storageVo.getCurrent())){
|
||||||
|
file.setFileUrl(storageVo.getHwCloud().getDomain());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
[ViewState]
|
||||||
|
Mode=
|
||||||
|
Vid=
|
||||||
|
FolderType=Generic
|
||||||
Loading…
Reference in New Issue