更换登录授权接口

This commit is contained in:
Hong
2024-01-24 16:58:21 +08:00
parent 732b713ad9
commit 06c2ce02a2
3 changed files with 8 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ import wechat from "@/libs/wechat.js";
* @param data object 小程序用户登录信息
*/
export function loginPhone(data) {
return request.post("login/wechat/phone", data, { noAuth : true });
return request.post("reservation/login/wechat/phone", data, { noAuth : true });
}
/**
@@ -15,6 +15,6 @@ export function loginPhone(data) {
* @param {Object} data
*/
export function getUserPhone(data){
return request.post('login/wechat/register/binding/phone',data,{noAuth : true});
return request.post('reservation/login/wechat/register/binding/phone',data,{noAuth : true});
}

View File

@@ -1,11 +1,10 @@
// 应用全局配置
module.exports = {
baseUrl: 'https://mall.lianxianke.cn/car_app_api',
// baseUrl: 'https://mall.lianxianke.cn/car_app_api',
// 薛
// baseUrl: 'http://192.168.31.226:8081/car_app_api',
// baseUrl: 'http://121.199.24.205:9107/lxk',
// baseUrl: 'http://10.0.21.127:8080/lxk',
//花花
baseUrl: 'http://192.168.31.15:8081/car_app_api',
fileUploadUrl: 'https://mall.lianxianke.cn/car_app_api/api/front/upload/image',
WebSocketUrl: 'ws://121.199.24.205:9107/lxk/websocket',
WebSocketOpen: false,

View File

@@ -1,13 +1,9 @@
//移动端商城API
// let domain = 'https://api.app.jimeite.cn/jmt_app_api' //负载均衡
// let domain = 'http://192.168.31.226:8081/car_app_api' //薛
let domain = 'https://mall.lianxianke.cn/car_app_api' //老地址
// let domain = 'http://192.168.31.15:8081/car_app_api' //老地址
// let domain = 'http://192.168.31.15:8081/car_app_api' //花花
let domain = 'https://mall.lianxianke.cn/car_app_api' //线上
module.exports = {
// 请求域名 格式: https://您的域名
HTTP_H5_URL: 'https://app.jimeite.cn/shop_h5',
HTTP_H5_URL: 'https://mall.lianxianke.cn/shop_h5',
HTTP_REQUEST_URL: domain,
//图片地址
imgPath: 'https://qicheoss.oss-cn-shanghai.aliyuncs.com/',