门店核销功能测试
This commit is contained in:
@@ -13,3 +13,6 @@ DEPLOY_WEBHOOK_HOST=127.0.0.1
|
|||||||
DEPLOY_WEBHOOK_PORT=8095
|
DEPLOY_WEBHOOK_PORT=8095
|
||||||
DEPLOY_LOG_FILE=/var/log/dukang/deploy.log
|
DEPLOY_LOG_FILE=/var/log/dukang/deploy.log
|
||||||
DEPLOY_LOCK_FILE=/var/run/dukang-deploy.lock
|
DEPLOY_LOCK_FILE=/var/run/dukang-deploy.lock
|
||||||
|
|
||||||
|
# Prisma db push 遇到 schema 变更警告时自动继续(开发/测试环境可开)
|
||||||
|
PRISMA_ACCEPT_DATA_LOSS=true
|
||||||
|
|||||||
@@ -74,6 +74,10 @@ sed -i 's/\r$//' "$ENV_FILE" 2>/dev/null || true
|
|||||||
find "$APP_ROOT/deploy" -maxdepth 1 -name '*.sh' -exec sed -i 's/\r$//' {} + 2>/dev/null || true
|
find "$APP_ROOT/deploy" -maxdepth 1 -name '*.sh' -exec sed -i 's/\r$//' {} + 2>/dev/null || true
|
||||||
|
|
||||||
log "RUN remote-release.sh"
|
log "RUN remote-release.sh"
|
||||||
bash "$APP_ROOT/deploy/remote-release.sh"
|
RELEASE_ARGS=()
|
||||||
|
if [[ "${PRISMA_ACCEPT_DATA_LOSS:-false}" == "true" ]]; then
|
||||||
|
RELEASE_ARGS+=(--accept-data-loss)
|
||||||
|
fi
|
||||||
|
bash "$APP_ROOT/deploy/remote-release.sh" "${RELEASE_ARGS[@]}"
|
||||||
|
|
||||||
log "DONE auto-release ($REMOTE_SHA)"
|
log "DONE auto-release ($REMOTE_SHA)"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { HqAuthGuard } from '../../common/guards/hq-auth.guard';
|
|||||||
import { HqOperation } from '../../common/hq-operation/hq-operation.decorator';
|
import { HqOperation } from '../../common/hq-operation/hq-operation.decorator';
|
||||||
import { HqOperationAction } from '../../common/hq-operation/hq-operation.constants';
|
import { HqOperationAction } from '../../common/hq-operation/hq-operation.constants';
|
||||||
import { AdminRedeemDebugService } from './admin-redeem-debug.service';
|
import { AdminRedeemDebugService } from './admin-redeem-debug.service';
|
||||||
import type {
|
import {
|
||||||
AdminRedeemDebugCreateTokenDto,
|
AdminRedeemDebugCreateTokenDto,
|
||||||
AdminRedeemDebugStoreTokenDto,
|
AdminRedeemDebugStoreTokenDto,
|
||||||
} from './dto/admin-mutate.dto';
|
} from './dto/admin-mutate.dto';
|
||||||
|
|||||||
Reference in New Issue
Block a user