diff --git a/api/user/user.js b/api/user/user.js index 291cad2..ea35eb8 100644 --- a/api/user/user.js +++ b/api/user/user.js @@ -17,6 +17,7 @@ export const selectNewApp = (data) => { export const selectUserById = (data) => { return http.request({ url: '/user/selectUserById', + method: 'POST', data: data }) } diff --git a/commons/config.js b/commons/config.js index 4b74339..75a937b 100644 --- a/commons/config.js +++ b/commons/config.js @@ -9,14 +9,16 @@ export const h5Config = { production: 'https://web.hnsiyao.cn', test: 'https://web-api.hnsiyao.cn', // local: 'http://192.168.1.21:8100', - local: 'http://192.168.1.31:8080', + // local: 'http://192.168.1.31:8080', + local: 'https://playlet.test.sxczgkj.com', } export const AppConfig = { production: 'https://dj-api.hnsiyao.cn', test: 'https://web-api.hnsiyao.cn', // local: 'http://192.168.1.21:8100', - local: 'http://192.168.1.31:8080', + // local: 'http://192.168.1.31:8080', + local: 'https://playlet.test.sxczgkj.com', } export function returnShareUrl() {