xiebaomin 1 year ago
parent
commit
ecb2aada82
3 changed files with 3 additions and 3 deletions
  1. 1 1
      .env.development
  2. 1 1
      src/config/js-config.js
  3. 1 1
      src/plugin/jsSdk.js

+ 1 - 1
.env.development

@@ -2,7 +2,7 @@
 NODE_ENV = 'development'
 
 # 网站地址
-LOCALHOSE = 'sell-b.caimei365.com'
+LOCALHOSE = 'https://sell-b.caimei365.com'
 
 # 接口api地址
 #VUE_APP_URL = 'http://192.168.2.103:18002'

+ 1 - 1
src/config/js-config.js

@@ -1,2 +1,2 @@
-export const appId = 'wx6512b1dfb84c28e1' // 'wx91c4152b60ca91a3'
+export const appId = 'wx91c4152b60ca91a3' // 'wx91c4152b60ca91a3' wx6512b1dfb84c28e1
 export const jsApiList = ['updateAppMessageShareData', 'updateTimelineShareData']

+ 1 - 1
src/plugin/jsSdk.js

@@ -7,7 +7,7 @@ const dev = process.env.EVN
 
 Vue.prototype.$wxReady = async (callback, apiList = []) => {
   try {
-    const url = 'https://zp.caimei365.com/12/ross'
+    const url = 'https://sell-b.caimei365.com/shopping-mall'
     // console.log('当前页面地址:', url)
     const res = await shareSDK({ url: url, appId })
     console.log(res)