feat: 框架优化

This commit is contained in:
louis 2024-02-28 16:12:34 +08:00
parent 78fa645b4c
commit aeb25ac816
4 changed files with 5 additions and 5 deletions

2
.env
View File

@ -13,7 +13,7 @@ TZ = Asia/Shanghai
# OSS(minio) # OSS(minio)
OSS_ACCESSKEY=xxx OSS_ACCESSKEY=xxx
OSS_SECRETKEY=xxx OSS_SECRETKEY=xxx
OSS_DOMAIN=https://cdn.buqiyuan.site OSS_DOMAIN=https://cdn.louis.site
OSS_BUCKET=hxoa OSS_BUCKET=hxoa
OSS_ZONE=Zone_z2 # Zone_as0 | Zone_na0 | Zone_z0 | Zone_z1 | Zone_z2 OSS_ZONE=Zone_z2 # Zone_as0 | Zone_na0 | Zone_z0 | Zone_z1 | Zone_z2
OSS_ACCESS_TYPE=public # or private OSS_ACCESS_TYPE=public # or private

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2021-present buqiyuan Copyright (c) 2024-present Louis
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -63,7 +63,7 @@ docker compose --env-file .env --env-file .env.production down
```bash ```bash
pnpm docker:rmi pnpm docker:rmi
# or # or
docker rmi buqiyuan/huaxin-admin-server:stable docker rmi huaxin-admin-server:stable
``` ```
查看实时日志输出 查看实时日志输出

View File

@ -1,7 +1,7 @@
import CryptoJS from 'crypto-js' import CryptoJS from 'crypto-js'
const key = CryptoJS.enc.Utf8.parse('buqiyuanabcdefe9bc') const key = CryptoJS.enc.Utf8.parse('louisabcdefe9bc')
const iv = CryptoJS.enc.Utf8.parse('0123456789buqiyuan') const iv = CryptoJS.enc.Utf8.parse('0123456789louis')
export function aesEncrypt(data) { export function aesEncrypt(data) {
if (!data) if (!data)