Browse Source

修改 部署文件

test
chenJinxu 11 months ago
parent
commit
3b506eae17
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      setup_test.sh
  2. +1
    -1
      src/config/appId.js
  3. +1
    -1
      src/config/models.js
  4. +1
    -1
      src/views/today/emotionDetails.vue
  5. +1
    -1
      src/views/today/report.vue

+ 1
- 1
setup_test.sh View File

@@ -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
- 1
src/config/appId.js View File

@@ -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;

+ 1
- 1
src/config/models.js View File

@@ -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';

+ 1
- 1
src/views/today/emotionDetails.vue View File

@@ -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 */,


+ 1
- 1
src/views/today/report.vue View File

@@ -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'


Loading…
Cancel
Save