26 lines
569 B
JavaScript
26 lines
569 B
JavaScript
import http from '../utils/http';
|
|
import config from '../config/config';
|
|
|
|
/**
|
|
* 账号密码登录
|
|
* @author Seven
|
|
* @data 2025-1-6
|
|
* @returns { }
|
|
* @see https://mall.gpxscs.cn/mobile/admin/app-market-update/check/version
|
|
*/
|
|
|
|
export function GetAPPversion(params) {
|
|
return new Promise((resolve, reject) => {
|
|
http({
|
|
url: '/admin/app-market-update/check/version',
|
|
method: 'post',
|
|
data: params,
|
|
baseURL: config.baseApi,
|
|
})
|
|
.then((res) => {
|
|
resolve(res);
|
|
})
|
|
.catch((e) => reject(console.warn(e)));
|
|
});
|
|
}
|