merchapp/java-mall-app-shop-admin/api/agreement.js
2025-02-26 14:56:27 +08:00

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)))
})
}