feat(points): 修正充值档位价格与积分
- 100元 = 2000积分,无标签,180天有效 - 500元(热销)= 11000积分,180天有效 - 1000元(推荐)= 23000积分,365天有效 - 5000元(超值)= 125000积分,永久有效 - 1积分 = 0.05元
This commit is contained in:
@@ -32,10 +32,11 @@ jobs:
|
||||
- name: Download sidecar binaries
|
||||
run: |
|
||||
mkdir -p tauri-app/src-tauri/binaries
|
||||
curl -L -o /tmp/sidecar-binaries.tar.gz \
|
||||
https://github.com/fun0/meijiaka-zy/releases/download/v0.0.0-sidecar/sidecar-binaries.tar.gz
|
||||
gh release download v0.0.0-sidecar --repo fun0/meijiaka-zy --pattern "sidecar-binaries.tar.gz" --dir /tmp
|
||||
tar xzf /tmp/sidecar-binaries.tar.gz -C tauri-app/src-tauri/binaries/
|
||||
chmod +x tauri-app/src-tauri/binaries/ffmpeg-* tauri-app/src-tauri/binaries/ffprobe-*
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: tauri-app
|
||||
@@ -77,9 +78,10 @@ jobs:
|
||||
shell: pwsh
|
||||
run: |
|
||||
New-Item -ItemType Directory -Force -Path tauri-app/src-tauri/binaries
|
||||
curl -L -o $env:TEMP\sidecar-binaries.tar.gz `
|
||||
https://github.com/fun0/meijiaka-zy/releases/download/v0.0.0-sidecar/sidecar-binaries.tar.gz
|
||||
tar xzf $env:TEMP\sidecar-binaries.tar.gz -C tauri-app/src-tauri/binaries/
|
||||
gh release download v0.0.0-sidecar --repo fun0/meijiaka-zy --pattern "sidecar-binaries.tar.gz" --dir $env:TEMP
|
||||
tar xzf "$env:TEMP\sidecar-binaries.tar.gz" -C tauri-app/src-tauri/binaries/
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: tauri-app
|
||||
|
||||
@@ -77,10 +77,10 @@ duration_based_costs:
|
||||
# 支持积分赠送:points 为实际到账积分数,amount_rmb 为支付金额(分)。
|
||||
# label 为空时不显示标签角标。
|
||||
recharge_options:
|
||||
- { price: 100, points: 100, label: "", validity_days: 180 }
|
||||
- { price: 500, points: 1000, label: "热销", validity_days: 180 }
|
||||
- { price: 1000, points: 3000, label: "推荐", validity_days: 365 }
|
||||
- { price: 5000, points: 25000, label: "超值", validity_days: 0 }
|
||||
- { price: 10000, points: 2000, label: "", validity_days: 180 }
|
||||
- { price: 50000, points: 11000, label: "热销", validity_days: 180 }
|
||||
- { price: 100000, points: 23000, label: "推荐", validity_days: 365 }
|
||||
- { price: 500000, points: 125000, label: "超值", validity_days: 0 }
|
||||
|
||||
|
||||
# ── 免费业务(不扣积分)───────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user