260720
This commit is contained in:
21
pages/login/service.js
Normal file
21
pages/login/service.js
Normal 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
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user