index.ts 378 B

1234567891011
  1. import { httpRequest } from '../../../services/http/index'
  2. import { HttpRequest } from '../../../services/http/interface'
  3. import service from '../../../services'
  4. /**
  5. * 用户登录
  6. *
  7. */
  8. export function login(params: HttpRequest<{req: GuangZuan.LoginReq, rsp: GuangZuan.LoginRsp}>) {
  9. return httpRequest(service.config.goAccess+'/Account/Login', 'POST', params)
  10. }