Tang 4 năm trước cách đây
mục cha
commit
769598a2c3
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 1 1
      common/httpList/login.js
  2. 2 1
      common/request.js

+ 1 - 1
common/httpList/login.js

@@ -6,7 +6,7 @@ export default {
 	//登录
 	login(data) {
 		return myRequest({
-			url: '/testLogin',
+			url: '/login',
 			method: 'post',
 			data: data,
 			noToken: true

+ 2 - 1
common/request.js

@@ -1,5 +1,6 @@
-const BASE_URL = 'http://192.168.0.222:8088'   //
+// const BASE_URL = 'http://192.168.0.222:8088'   //
 // const BASE_URL = 'http://192.168.0.145:8088'   //
+const BASE_URL = 'https://api.xyyxt.net'   //
 import store from '@/store/index.js'
 import api from './api.js'
 var num = 1