ymy 6 miesięcy temu
rodzic
commit
b450def174
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      env/dev.js
  2. 1 1
      pages/login/login.vue

+ 1 - 1
env/dev.js

@@ -1,5 +1,5 @@
 const ENV_PATH = {
-  serverPath: 'http://47.107.53.207:8914', // 请求前缀地址
+  serverPath: 'https://dev.boxuetech.top/prod-api', // 请求前缀地址
   //serverFilePath: 'https://lsfdev.benyuntech.com/data/access', // 文件前缀地址
   appId: 'wxfc1ae62fd810717d', // 小程序 appid
   appName: '销售小程序', // 小程序名称(登录页面显示的名称)

+ 1 - 1
pages/login/login.vue

@@ -156,7 +156,7 @@
 							success: async (loginRes) => {
 								console.log('数据:', loginRes)
 								// 发送code到开发者服务器换取用户信息
-								const result = await this.$request('post', '/auth/miniLogin', {
+								const result = await this.$request('post', '/system/appUser/miniLogin', {
 									tenantId: '000000',
 									// clientId: 'e5cd7e4891bf95d1d19206ce24a7b32e',
 									code: loginRes.code