hwUser.impl.ts 829 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-06-25 00:11:34
  4. * @LastEditTime: 2021-06-25 00:13:25
  5. * @LastEditors: Please set LastEditors
  6. * @Description: In User Settings Edit
  7. * @FilePath: \Mina_B_T\miniprogram\service\hwUser.impl.ts
  8. */
  9. import { bannerApi, getAuthCodeApi, phoneLoginApi } from "../hwUser";
  10. export const bannerImpl = () => bannerApi().then(res => {
  11. const data = (<responseOptionsType>res)
  12. return data
  13. })
  14. /**
  15. * 获取验证码
  16. * @param pamara
  17. */
  18. export const getAuthCodeImpl = (parma: getAuthCodeDataType) => getAuthCodeApi(parma).then(res => {
  19. const data = (<responseOptionsType>res)
  20. return data
  21. })
  22. /**
  23. * 电话号码登陆
  24. * @param parma
  25. */
  26. export const phoneLoginImpl = (parma: phoneLoginDataType) => phoneLoginApi(parma).then(res => {
  27. const data = (<responseOptionsType>res)
  28. return data
  29. })