提交文档
This commit is contained in:
parent
74549c2fc2
commit
00b0110e95
17
公司/基础文档.md
Normal file
17
公司/基础文档.md
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
### 小程序
|
||||||
|
APPID授权管理通知
|
||||||
|
商户号:: 1680394019
|
||||||
|
商户简称:: 寰梦科技
|
||||||
|
商户全称:: 上海寰梦科技发展有限公司
|
||||||
|
APPID:: wxafecedd1ad0d7483
|
||||||
|
APPID名称:: 上海寰梦科技发展有限公司
|
||||||
|
|
||||||
|
|
||||||
|
## 公司小程序账号密码
|
||||||
|
zhangxiaode690@gmail.com。 zxd@6666.
|
||||||
|
|
||||||
|
## [需求文档](https://docs.qq.com/s/3ARtaBs4Z-OHejB3DUDMBq)
|
||||||
|
|
||||||
|
## 腾讯云密钥
|
||||||
|
SecretId:AKIDLbhdP0Vs57yd7QZWu8A2jFbno8JKBUp6
|
||||||
|
SecretKey:MlP5tcUG6mdj7TwOpDWnZNFGIrJY8eH4
|
||||||
|
|
@ -2,4 +2,18 @@
|
||||||
### 反向工程
|
### 反向工程
|
||||||
1. 安装 dotnet tool install --global dotnet-ef
|
1. 安装 dotnet tool install --global dotnet-ef
|
||||||
2. 安装包 Microsoft.EntityFrameworkCore.Design
|
2. 安装包 Microsoft.EntityFrameworkCore.Design
|
||||||
3. 执行命令 dotnet ef dbcontext scaffold "Server=172.27.27.12;Database=TextGenerationTest;User Id=zpc;Password=zpc;TrustServerCertificate=true;" Microsoft.EntityFrameworkCore.SqlServer -o Models --force
|
3. 执行命令 dotnet ef dbcontext scaffold "Server=172.27.27.12;Database=TextGenerationTest;User Id=zpc;Password=zpc;TrustServerCertificate=true;" Microsoft.EntityFrameworkCore.SqlServer -o Models --force
|
||||||
|
|
||||||
|
dotnet ef dbcontext scaffold "Server=192.168.195.2;Database=MiaoYu;User Id=zpc;Password=zpc;TrustServerCertificate=true;" Microsoft.EntityFrameworkCore.SqlServer -o DbSqlServer/Db_MiaoYu/ --use-database-names --no-pluralize --force
|
||||||
|
1.
|
||||||
|
dotnet ef dbcontext scaffold "Name=ConnectionStrings:SunnySports_SqlServer_Db_SunnySport" Microsoft.EntityFrameworkCore.SqlServer --no-pluralize --force --output-dir ../../0-core/SunnySports.Model/DbSqlServer/Db_SunnySports/ --use-database-names --project ../../0-core/SunnySports.Model/
|
||||||
|
|
||||||
|
|
||||||
|
dotnet ef dbcontext scaffold "Name=ConnectionStrings:SunnySports_SqlServer_Db_Student" Microsoft.EntityFrameworkCore.SqlServer --no-pluralize --force --output-dir ../../0-core/SunnySports.Model/DbSqlServer/Db_Student/ --use-database-names --project ../../0-core/SunnySports.Model/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 自定义模板
|
||||||
|
|
||||||
|
1. dotnet new install Microsoft.EntityFrameworkCore.Templates
|
||||||
|
2. dotnet new ef-templates
|
||||||
|
|
@ -36,6 +36,10 @@ sudo mkdir /disk
|
||||||
# 获取权限
|
# 获取权限
|
||||||
sudo chmod -R 777 *
|
sudo chmod -R 777 *
|
||||||
sudo chmod 777 /disk
|
sudo chmod 777 /disk
|
||||||
|
sudo chmod -R 750 /path/to/directory
|
||||||
|
sudo chown 755 -R www:www /www/wwwroot/shequtuangou
|
||||||
|
sudo chown -R www:www /www/wwwroot/shequtuangou
|
||||||
|
|
||||||
|
|
||||||
# 删除文件夹
|
# 删除文件夹
|
||||||
sudo rm -r /disk/sunnysports
|
sudo rm -r /disk/sunnysports
|
||||||
|
|
|
||||||
2
需求分析/妙语/SecretKey.csv
Normal file
2
需求分析/妙语/SecretKey.csv
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
SecretId,SecretKey
|
||||||
|
AKIDLbhdP0Vs57yd7QZWu8A2jFbno8JKBUp6,MlP5tcUG6mdj7TwOpDWnZNFGIrJY8eH4
|
||||||
|
11
需求分析/妙语/妙语.md
Normal file
11
需求分析/妙语/妙语.md
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
## 腾讯云密钥
|
||||||
|
SecretId:AKIDLbhdP0Vs57yd7QZWu8A2jFbno8JKBUp6
|
||||||
|
SecretKey:MlP5tcUG6mdj7TwOpDWnZNFGIrJY8eH4
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"phoneNumber": "17521010998",
|
||||||
|
"verificationCode": "347544",
|
||||||
|
"loginType": 0,
|
||||||
|
"token": "eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoi5paw55So5oi3IiwiTmFtZSI6IuaWsOeUqOaItyIsIlVzZXJJZCI6IjIiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL2V4cGlyZWQiOiIyIiwiZXhwIjoxNzIxMDcyNDcwLCJpc3MiOiJIdWFuTWVuZyIsImF1ZCI6Ikh1YW5NZW5nQXBwIn0.5L51C120hNZhWet_SmO2eud3CszI9KKsKbcmYTTOjFg"
|
||||||
|
}
|
||||||
|
|
@ -16,13 +16,7 @@ utf8mb4_general_ci
|
||||||
docker run --name mysql5.7 -e MYSQL_ROOT_PASSWORD=9dG2b5E5cWkzkAya -p 3306:3306 -d mysql:5.7
|
docker run --name mysql5.7 -e MYSQL_ROOT_PASSWORD=9dG2b5E5cWkzkAya -p 3306:3306 -d mysql:5.7
|
||||||
docker exec -i mysql5.7 sh -c 'exec mysql -uroot -p"$9dG2b5E5cWkzkAya"' < xinglanmh_shequt_2024-06-30_04-51-20_mysql_data_BR20C.sql
|
docker exec -i mysql5.7 sh -c 'exec mysql -uroot -p"$9dG2b5E5cWkzkAya"' < xinglanmh_shequt_2024-06-30_04-51-20_mysql_data_BR20C.sql
|
||||||
mysql -uroot -p xinglanmh_shequt < /disk/xinglanmh_shequt.sql
|
mysql -uroot -p xinglanmh_shequt < /disk/xinglanmh_shequt.sql
|
||||||
## 测试环境数据库
|
|
||||||
101.43.1.207
|
|
||||||
xinglanmh_shequt
|
|
||||||
mhSJjMeS5erzxEX7
|
|
||||||
## 后台管理
|
|
||||||
http://101.43.1.207/
|
|
||||||
后台 admin6 xu258258
|
|
||||||
|
|
||||||
## [开发文档](https://www.kancloud.cn/manual/thinkphp6_0/1037483)
|
## [开发文档](https://www.kancloud.cn/manual/thinkphp6_0/1037483)
|
||||||
|
|
||||||
|
|
@ -32,13 +26,23 @@ php think run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## 测试环境
|
||||||
|
|
||||||
|
## 测试环境数据库
|
||||||
|
101.43.1.207
|
||||||
|
xinglanmh_shequt
|
||||||
|
mhSJjMeS5erzxEX7
|
||||||
|
## 后台管理
|
||||||
|
http://101.43.1.207/
|
||||||
|
后台 admin6 xu258258
|
||||||
|
|
||||||
|
|
||||||
外网面板地址: http://101.43.1.207:8888/tencentcloud
|
外网面板地址: http://101.43.1.207:8888/tencentcloud
|
||||||
内网面板地址: http://10.0.4.3:8888/tencentcloud
|
内网面板地址: http://10.0.4.3:8888/tencentcloud
|
||||||
username: 1rk9uzos
|
|-用户名: 1rk9uzos
|
||||||
password: 44fd15edcf5f
|
|-新密码: hm12345
|
||||||
|
<!-- username: 1rk9uzos
|
||||||
|
password: 44fd15edcf5f -->
|
||||||
Warning:
|
Warning:
|
||||||
If you cannot access the panel,
|
If you cannot access the panel,
|
||||||
release the following port (8888|888|80|443|20|21) in the security group
|
release the following port (8888|888|80|443|20|21) in the security group
|
||||||
|
|
@ -46,3 +50,73 @@ release the following port (8888|888|80|443|20|21) in the security group
|
||||||
==================================================================
|
==================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 一番赏抽奖规则修改
|
||||||
|
#### 原规则
|
||||||
|
1. 每次抽奖时将所有奖品的库存查出来,打乱顺序两次,依次从最上面抽取。
|
||||||
|
#### 新规则
|
||||||
|
1. 每次抽奖时,判断奖品是否满足限制的已抽取次数,满足后将奖品放入奖池。然后在打乱顺序,进行抽奖。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
https://www.virustotal.com/gui/file/5312213d8b214fbbd63319eabd739bae97b918856e2a8a4b5563879bc26c2ac0?nocache=1
|
||||||
|
https://metadefender.opswat.com/results/file/bzI0MDcwMlFuYWEzQURTTm5Nd1hqeTFmajNv_mdaas/regular/multiscan
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[root@VM-0-10-centos console]# stat incould.php
|
||||||
|
File: ‘incould.php’
|
||||||
|
Size: 37 Blocks: 8 IO Block: 4096 regular file
|
||||||
|
Device: fd01h/64769d Inode: 1450167 Links: 1
|
||||||
|
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ www) Gid: ( 1000/ www)
|
||||||
|
Access: 2024-07-02 13:35:45.175471538 +0800 访问时间
|
||||||
|
Modify: 2024-04-24 09:36:01.000000000 +0800 修改时间
|
||||||
|
Change: 2024-06-18 14:47:09.226223449 +0800 更改时间
|
||||||
|
Birth: -
|
||||||
|
[root@VM-0-10-centos console]# stat index.78b99ffb.png
|
||||||
|
File: ‘index.78b99ffb.png’
|
||||||
|
Size: 413 Blocks: 8 IO Block: 4096 regular file
|
||||||
|
Device: fd01h/64769d Inode: 1450168 Links: 1
|
||||||
|
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ www) Gid: ( 1000/ www)
|
||||||
|
Access: 2024-07-02 13:36:20.757462800 +0800
|
||||||
|
Modify: 2024-04-24 09:36:04.000000000 +0800
|
||||||
|
Change: 2024-06-18 14:47:09.226223449 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[root@VM-0-10-centos console]# stat incould.php
|
||||||
|
File: ‘incould.php’
|
||||||
|
Size: 37 Blocks: 8 IO Block: 4096 regular file
|
||||||
|
Device: fd01h/64769d Inode: 1450167 Links: 1
|
||||||
|
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ www) Gid: ( 1000/ www)
|
||||||
|
Access: 2024-07-02 13:35:45.175471538 +0800
|
||||||
|
Modify: 2024-04-24 09:36:01.000000000 +0800
|
||||||
|
Change: 2024-06-18 14:47:09.226223449 +0800
|
||||||
|
Birth: -
|
||||||
|
[root@VM-0-10-centos console]# stat index.78b99ffb.png
|
||||||
|
File: ‘index.78b99ffb.png’
|
||||||
|
Size: 413 Blocks: 8 IO Block: 4096 regular file
|
||||||
|
Device: fd01h/64769d Inode: 1450168 Links: 1
|
||||||
|
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ www) Gid: ( 1000/ www)
|
||||||
|
Access: 2024-07-02 13:36:20.757462800 +0800
|
||||||
|
Modify: 2024-04-24 09:36:04.000000000 +0800
|
||||||
|
Change: 2024-06-18 14:47:09.226223449 +0800
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### 数据库操作
|
||||||
|
```sh
|
||||||
|
ALTER TABLE `goods` ADD COLUMN `goods_describe` VARCHAR(300) COMMENT '描述'
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue
Block a user