auth_api.js 462 B

12345678910111213141516
  1. const { request_wxrlxf, wx_rlxf } = require("../func/request");
  2. const base_url = wx_rlxf ? 'https://tx.hz-hanghui.com:8088/hanghui-server-platform/api/v1/alipay/' : 'http://192.168.11.11:8081/hanghui-server-platform/api/v1/alipay/'
  3. // 获取用户三要素信息
  4. const getAuthThree = data => {
  5. return request_wxrlxf({
  6. url: `${base_url}user/query`,
  7. method: "post",
  8. type: "application/json",
  9. data
  10. })
  11. }
  12. module.exports = getAuthThree