This commit is contained in:
2026-07-20 11:56:02 +08:00
commit 2dcae4165b
176 changed files with 34633 additions and 0 deletions

21
pages/login/service.js Normal file
View File

@@ -0,0 +1,21 @@
import { DEFAULT_TENANT_ID, post } from '../../utils/request'
export function loginByPassword(data) {
return post(
'/login',
{
tenantId: DEFAULT_TENANT_ID,
isMiniApp: 1,
...data
},
{
auth: false
}
)
}
export function loginByMpWxPhone(data) {
return post('/wx-login/loginByMpWxPhone', data, {
auth: false
})
}