diff --git a/apps/dujiaoka/2.0.7/data.yml b/apps/dujiaoka/2.0.7/data.yml index 3ae759f0..27b5123a 100644 --- a/apps/dujiaoka/2.0.7/data.yml +++ b/apps/dujiaoka/2.0.7/data.yml @@ -56,6 +56,27 @@ additionalProperties: required: true rule: paramPort type: number + - default: "独角数卡" + edit: true + envKey: APP_NAME + labelZh: 网站名称 + labelEn: Website name + required: true + type: text + - default: "base64:hDVkYhfkUjaePiaI1tcBT7G8bh2A8RQxwWIGkq7BO18=" + edit: true + envKey: APP_KEY + labelZh: 应用密钥 + labelEn: Application key + required: true + type: text + - default: "http://127.0.0.1:8080" + edit: true + envKey: APP_URL + labelZh: 网站域名 + labelEn: Website domain + required: true + type: text - default: "/admin" edit: true envKey: ADMIN_ROUTE_PREFIX diff --git a/apps/dujiaoka/2.0.7/scripts/init.sh b/apps/dujiaoka/2.0.7/scripts/init.sh index 77b84912..d3ba0246 100644 --- a/apps/dujiaoka/2.0.7/scripts/init.sh +++ b/apps/dujiaoka/2.0.7/scripts/init.sh @@ -8,6 +8,10 @@ if [ -f .env ]; then sed -i '/^ENV_FILE=/d' .env echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + if [ ! -f $DUJIAOKA_ROOT_PATH/install.lock ]; then + touch $DUJIAOKA_ROOT_PATH/install.lock + fi + echo "Check Finish." else