25 lines
540 B
JavaScript
25 lines
540 B
JavaScript
import http from '../utils/http'
|
|
import config from '../config/config'
|
|
|
|
/**
|
|
* 获取隐私协议
|
|
* @author Seven
|
|
* @data 2025-1-28
|
|
* @param protocols_key : 'reg_description'
|
|
* @returns { }
|
|
* @see https://mall.gpxscs.cn/mobile/account/login/protoco
|
|
*/
|
|
|
|
export function GetProtoco(params){
|
|
return new Promise((resolve, reject) => {
|
|
http({
|
|
url:'/account/login/protocol',
|
|
method:'get',
|
|
params,
|
|
baseURL:config.baseApi
|
|
}).then(res=>{
|
|
resolve(res)
|
|
}).catch(e => reject(console.warn(e)))
|
|
})
|
|
}
|