shish 6 月之前
父节点
当前提交
d7c76f712e

+ 2 - 0
ghsApp/src/admin/home/me.vue

@@ -292,6 +292,7 @@ import { mapGetters } from "vuex";
 import NotLogin from "@/components/not-login";
 import ModalModule from "@/components/plugin/modal"
 import htzImageUpload from '@/components/htz-image-upload/htz-image-upload.vue'
+import { APP_VERSION } from "@/config";
 export default {
   name: "me",
   components: {
@@ -352,6 +353,7 @@ export default {
     // #endif
     // #ifdef MP-WEIXIN
     this.showDeadline = true
+    this.version = APP_VERSION
     // #endif
   },
   methods: {

+ 2 - 1
ghsApp/src/config.js

@@ -1,4 +1,5 @@
 export const ProjectName = 'ghs'
 export const APIHOST = 'https://api.shop.hzghd.com'
 export const IMGHOST = 'https://img.hzghd.com'
-export const CURRENT_ENV = 'dev'
+export const CURRENT_ENV = 'dev'
+export const APP_VERSION = '1.2.75'

+ 4 - 0
hdApp/src/admin/home/me.vue

@@ -200,6 +200,7 @@ import { list } from "@/mixins";
 import { mapGetters } from "vuex";
 import NotLogin from "@/components/not-login";
 import { clearLogin } from "@/api/admin";
+import { APP_VERSION } from "@/config";
 export default {
   name: "me",
   components: {
@@ -233,6 +234,9 @@ export default {
       this.version = plus.runtime.version
     }
     // #endif
+    // #ifdef MP-WEIXIN
+    this.version = APP_VERSION
+    // #endif
   },
   methods: {
     getMyVideo(){

+ 2 - 1
hdApp/src/config.js

@@ -3,4 +3,5 @@ export const APIHOST = 'https://api.shop.huaml.com'
 export const FORMALHOST = 'https://shop.huaml.com'
 export const IMGHOST = 'https://img.huaml.com'
 export const CURRENT_ENV = 'dev'
-export const WSSHOST = 'wss://chat.shop.huaml.com'
+export const WSSHOST = 'wss://chat.shop.huaml.com'
+export const APP_VERSION = '2.2.7'

+ 2 - 1
开发http/ghsApp/src/config.js

@@ -1,4 +1,5 @@
 export const ProjectName = 'ghs'
 export const APIHOST = 'http://api.shop.hzghd.com'
 export const IMGHOST = 'http://img.hzghd.com'
-export const CURRENT_ENV = 'dev'
+export const CURRENT_ENV = 'dev'
+export const APP_VERSION = '1.2.75'

+ 2 - 1
开发http/hdApp/src/config.js

@@ -3,4 +3,5 @@ export const APIHOST = 'http://api.shop.huaml.com'
 export const FORMALHOST = 'http://shop.huaml.com'
 export const IMGHOST = 'http://img.huaml.com'
 export const CURRENT_ENV = 'dev'
-export const WSSHOST = 'wss://chat.shop.huaml.com'
+export const WSSHOST = 'wss://chat.shop.huaml.com'
+export const APP_VERSION = '2.2.7'

+ 2 - 1
开发https/ghsApp/src/config.js

@@ -1,4 +1,5 @@
 export const ProjectName = 'ghs'
 export const APIHOST = 'https://api.shop.hzghd.com'
 export const IMGHOST = 'https://img.hzghd.com'
-export const CURRENT_ENV = 'dev'
+export const CURRENT_ENV = 'dev'
+export const APP_VERSION = '1.2.75'

+ 2 - 1
开发https/hdApp/src/config.js

@@ -3,4 +3,5 @@ export const APIHOST = 'https://api.shop.huaml.com'
 export const FORMALHOST = 'https://shop.huaml.com'
 export const IMGHOST = 'https://img.huaml.com'
 export const CURRENT_ENV = 'dev'
-export const WSSHOST = 'wss://chat.shop.huaml.com'
+export const WSSHOST = 'wss://chat.shop.huaml.com'
+export const APP_VERSION = '2.2.7'

+ 2 - 1
线上/ghsApp/src/config.js

@@ -1,4 +1,5 @@
 export const ProjectName = 'ghs'
 export const APIHOST = 'https://api.shop.wixhb.com'
 export const IMGHOST = 'https://img.wixhb.com'
-export const CURRENT_ENV = 'production'
+export const CURRENT_ENV = 'production'
+export const APP_VERSION = '1.2.75'

+ 2 - 1
线上/hdApp/src/config.js

@@ -3,4 +3,5 @@ export const APIHOST = 'https://api.shop.huahb.cn'
 export const FORMALHOST = 'https://shop.huahb.cn'
 export const IMGHOST = 'https://img.huahb.cn'
 export const CURRENT_ENV = 'production'
-export const WSSHOST = 'wss://chat.shop.huahb.cn'
+export const WSSHOST = 'wss://chat.shop.huahb.cn'
+export const APP_VERSION = '2.2.7'