/*
 * @Descripttion: HJ
 * @Company: 思宏科技
 * @version: v1.0
 * @Author: HJ
 * @Date: 2021-04-13 12:50:00
 * @LastEditors: HJ
 * @LastEditTime: 2021-07-06 11:40:50
 */
import request from "../../src/js/request";
import { _UNION_URL } from "../base-url";

// 获取用户信息
export const fhGetUserInfo = (params) =>
  request({
    url: `${_UNION_URL}/mini-users/userinfo`,
    params,
  });

// 授权手机信息
export const fhGetPhone = (data) =>
  request({
    url: `${_UNION_URL}/mini-users/auth-user-phone`,
    method: "post",
    data,
  });
