@@ -10,7 +10,7 @@ | |||
npm -v | |||
npm config set registry https://registry.npm.taobao.org | |||
npm install | |||
npm run build-test | |||
npm run build | |||
image_version=$version; | |||
# 删除镜像 | |||
docker rmi -f $( | |||
@@ -1,3 +1,3 @@ | |||
// 微信公众号AppId | |||
const AppId = process.env.NODE_ENV === 'production' ? 'wx23f697736154110b' : 'wx5e26f0813859e5f6'; | |||
const AppId = process.env.NODE_ENV === 'test' ? 'wx23f697736154110b' : 'wx5e26f0813859e5f6'; | |||
export default AppId; |
@@ -128,4 +128,4 @@ export const EmotionModel = { | |||
//心理健康相关接口地址 | |||
export const PsyBaseUrl = | |||
process.env.NODE_ENV === 'production' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; | |||
process.env.NODE_ENV === 'test' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; |
@@ -1370,7 +1370,7 @@ export default { | |||
getWeekResult() { | |||
this.$toast.loading('数据加载中'); | |||
let baseUrl = | |||
process.env.NODE_ENV === 'production' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; | |||
process.env.NODE_ENV === 'test' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; | |||
let reqUrl = `${baseUrl}/api/Data/GetWeekResult`; | |||
let reqParams = { | |||
uid: this.uid /* '2023101521270090082 */, | |||
@@ -645,7 +645,7 @@ export default { | |||
getWeekResultDetail() { | |||
this.$toast.loading('数据加载中'); | |||
let baseUrl = | |||
process.env.NODE_ENV === 'production' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; | |||
process.env.NODE_ENV === 'test' ? 'https://dbmq.rzliot.com/auth_heart' : 'https://dbmq.rzliot.com/heart'; | |||
let reqUrl = `${baseUrl}/api/Data/GetWeekResultDetail`; | |||
let reqParams = { | |||
recordId: /* this.params.recordId */ '1728096156447281486' | |||