fix: 积分页支出明细不显示 + integral/list 支持 type 参数
- 前端 points.vue: 支出明细 type 过滤改为 Number(item.type)===2;onLoad 先 await loadUserInfo 再 loadPointsList;请求 getIntegralList 时传 type=2 - 后端 integral/list: 增加可选参数 type(1=收入,2=支出),UserIntegralRecordServiceImpl 支持按 type 筛选 - 新增 backend/shell/test-integral-list.sh 测试 integral/list 支出明细 - 新增 backend/shell/start-front-miao33.sh 使用 nohup 启动 crmeb-front(miao33) Made-with: Cursor
This commit is contained in:
19
backend/shell/start-front-miao33.sh
Executable file
19
backend/shell/start-front-miao33.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# 使用 miao33 配置启动 crmeb-front 服务(nohup 后台)
|
||||
# 端口见 application-miao33.yml:30031
|
||||
|
||||
set -e
|
||||
BACKEND_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$BACKEND_DIR"
|
||||
JAR="$BACKEND_DIR/crmeb-front/target/miao-front-2.2.jar"
|
||||
LOG="${LOG:-$BACKEND_DIR/front-miao33.log}"
|
||||
|
||||
if [ ! -f "$JAR" ]; then
|
||||
echo "未找到 jar,请先执行: mvn clean package -pl crmeb-front -am -DskipTests"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "启动: nohup java -jar $JAR --spring.profiles.active=miao33 > $LOG 2>&1 &"
|
||||
nohup java -jar "$JAR" --spring.profiles.active=miao33 >> "$LOG" 2>&1 &
|
||||
echo "PID: $!"
|
||||
echo "日志: $LOG"
|
||||
Reference in New Issue
Block a user