document/工作/星岚魔盒/星岚魔盒.md
2024-07-11 22:22:50 +08:00

122 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 星岚魔盒
## linux 账户和控制面板
默认账户为 root初始密码为g3[(ebSUq)6DL
外网面板地址: https://129.211.213.92:25032/275a36c5
内网面板地址: https://10.206.0.10:25032/275a36c5
username: r6ftdo1y
password: a4a78696
## 数据库
xinglanmh.shequtuangou.vip
xinglanmh_shequt
9dG2b5E5cWkzkAya
utf8mb4
utf8mb4_general_ci
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
mysql -uroot -p xinglanmh_shequt < /disk/xinglanmh_shequt.sql
## [开发文档](https://www.kancloud.cn/manual/thinkphp6_0/1037483)
```sh
# 运行
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://10.0.4.3:8888/tencentcloud
|-用户名: 1rk9uzos
|-新密码: hm12345
<!-- username: 1rk9uzos
password: 44fd15edcf5f -->
Warning:
If you cannot access the panel,
release the following port (8888|888|80|443|20|21) in the security group
注意:初始密码仅在首次登录面板前能正确获取,其它时间请通过 bt 5 命令修改密码
==================================================================
### 一番赏抽奖规则修改
#### 原规则
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 '描述'
```