张延森 4 年前
父节点
当前提交
cabcb76577
共有 3 个文件被更改,包括 3 次插入2 次删除
  1. 1
    1
      config/prod.js
  2. 1
    1
      project.config.json
  3. 1
    0
      src/components/GetUserIcon/index.vue

+ 1
- 1
config/prod.js 查看文件

3
     NODE_ENV: '"production"'
3
     NODE_ENV: '"production"'
4
   },
4
   },
5
   defineConstants: {
5
   defineConstants: {
6
-    SERVER_API: '"https://dev.fangdeal.cn/liyuanhui/api/wx"'
6
+    SERVER_API: '"https://outer.fangdeal.cn/liyuanhui/api/wx"'
7
   },
7
   },
8
   mini: {},
8
   mini: {},
9
   h5: {
9
   h5: {

+ 1
- 1
project.config.json 查看文件

2
 	"miniprogramRoot": "dist/",
2
 	"miniprogramRoot": "dist/",
3
 	"projectname": "myApp",
3
 	"projectname": "myApp",
4
 	"description": "",
4
 	"description": "",
5
-	"appid": "wx842b0af4df4552a5",
5
+	"appid": "wxd9ee3a9480a4e544",
6
 	"setting": {
6
 	"setting": {
7
 		"urlCheck": false,
7
 		"urlCheck": false,
8
 		"es6": false,
8
 		"es6": false,

+ 1
- 0
src/components/GetUserIcon/index.vue 查看文件

54
       })
54
       })
55
     },
55
     },
56
     ToGetUserIcon (res) { // 获取用户头像
56
     ToGetUserIcon (res) { // 获取用户头像
57
+      console.log(JSON.stringify(res))
57
       wx.showToast({
58
       wx.showToast({
58
         title: JSON.stringify(res),
59
         title: JSON.stringify(res),
59
         icon: 'none',
60
         icon: 'none',