sync: 同步 v1.0.4 开源代码并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 14:59:32 +08:00
parent 14f4bb64e1
commit 3e5a7453b8
74 changed files with 3297 additions and 248 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# 物联网卡卡状态查询 — 请求体与 internal/model/sim_chan_api.go 中 SimCardStatusInput 一致(simKeys)
# 参数说明见 docs/测试资源.md
# 请仅使用获得授权的测试卡
# 用法:在工程根目录执行
# chmod +x docs/scripts/query_sim_card_status.sh
# ./docs/scripts/query_sim_card_status.sh
@@ -12,11 +12,11 @@ BASE_URL="${BASE_URL:-http://127.0.0.1:8110}"
PATH_QUERY="/query/sim-status"
CHAN_KEY="${CHAN_KEY:-YiDong_EC}"
if [[ -n "${ICCID:-}" ]]; then
IFS=',' read -r -a ICCIDS <<< "${ICCID}"
else
ICCIDS=("898604F4152391115473" "898604F4152391115474")
if [[ -z "${ICCID:-}" ]]; then
echo "请设置 ICCID(仅获授权的测试卡)" >&2
exit 2
fi
IFS=',' read -r -a ICCIDS <<< "${ICCID}"
json_simkeys="["
sep=""