28 lines
527 B
JavaScript
28 lines
527 B
JavaScript
import http from '../utils/http'
|
|
|
|
|
|
/**
|
|
* 登录
|
|
* @author Seven
|
|
* @data 2025-1-6
|
|
* @returns { }
|
|
* @see https://mall.gpxscs.cn/mobile/account/login/protocol
|
|
*/
|
|
|
|
export function GetAgreement(params){
|
|
|
|
return new Promise((resolve, reject) => {
|
|
params.isFilter = true
|
|
http({
|
|
url:'/account/login/protocol',
|
|
method:'get',
|
|
params,
|
|
}).then(res=>{
|
|
if(res.status == 200){
|
|
resolve(res)
|
|
}else{
|
|
reject(res)
|
|
}
|
|
}).catch(error => reject(console.warn(error)))
|
|
})
|
|
} |