"use strict";
const api_http = require("../http.js");
const api = {
  // 密码登录
  loginApi: (params = {}) => api_http.http({ url: "/app-api/member/auth/login", params, method: "POST" }),
  // 验证码登录
  smsLoginApi: (params = {}) => api_http.http({ url: "/app-api/member/auth/sms-login", params, method: "POST" }),
  //用户注册
  registerApi: (params = {}) => api_http.http({ url: "/app-api/member/auth/register", params, method: "POST" }),
  // 发送验证码
  smsCode: (params = {}) => api_http.http({ url: "/app-api/member/auth/send-sms-code", params, method: "POST" }),
  // 用户基本信息
  usersGetInfo: (params = {}) => api_http.http({ url: "/app-api/member/user/get", params, method: "GET" }),
  // 获取团队列表
  usersGetInfoTeam: (params = {}) => api_http.http({ url: "/app-api/member/user/getPage", params, method: "GET" }),
  // 修改个人信息
  usersUpdate: (params = {}) => api_http.http({ url: "/app-api/member/user/update", params, method: "PUT" }),
  // 收货地址分页
  addressPage: (params = {}) => api_http.http({ url: "/app-api/djk/app/user-receiver/page", params, method: "GET" }),
  // 新增收货地址
  addressAdd: (params = {}) => api_http.http({ url: "/app-api/djk/app/user-receiver/create", params, method: "POST" }),
  // 编辑收货地址
  addressUp: (params = {}) => api_http.http({ url: "/app-api/djk/app/user-receiver/update", params, method: "PUT" }),
  // 编辑收货地址
  addressInfo: (params = {}) => api_http.http({ url: "/app-api/djk/app/user-receiver/get", params, method: "GET" }),
  // 删除收货地址
  addressDel: (params = {}) => api_http.http({ url: "/app-api/djk/app/user-receiver/delete?id=" + params.id, params, method: "DELETE" }),
  // 余额记录
  moneyRecord: (params = {}) => api_http.http({ url: "/app-api/member/money-record/djk/page", params, method: "GET" }),
  // 修改用户手机号
  updateMobile: (params = {}) => api_http.http({ url: "/app-api/member/user/update-mobile", params, method: "PUT" }),
  // 报单综合
  rewardReport: (params = {}) => api_http.http({ url: "/app-api/member/money-record/djk/rewardReport", params, method: "GET" }),
  // 团队月度业绩奖查询
  getTeamMonthlyPerformanceAward: (params = {}) => api_http.http({ url: "/app-api/member/money-record/djk/getTeamMonthlyPerformanceAward", params, method: "GET" }),
  // 划转
  transfer2other: (params = {}) => api_http.http({ url: "/app-api/member/user/pay/transfer2other", params, method: "POST" })
};
exports.api = api;
//# sourceMappingURL=../../../.sourcemap/mp-weixin/api/modules/users.js.map
