first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
import { Http } from "../../http/http.js";
import { config } from "../../config/config.js";
export class loginService extends Http {
constructor() {
super()
}
/**
* 用户登录接口
* @param params
* @returns {Promise<unknown>}
*/
async appLogin(params) {
return await this.post({
url: config.apiList.appLogin,
data: params
});
}
/**
* 发送短息验证码
* @param params
* @returns {Promise<unknown>}
*/
async sendCode(params) {
return await this.post({
url: config.apiList.sendCode,
data: params
});
}
}