12345678910111213141516171819202122232425262728293031323334 |
- import request from "@/request"
- import config from "@/config"
- // 获取用户信息
- export const getUserInfo = (data) => {
- return request.get({
- url: '/increase/agent/customer/getUserInfo',
- data: data
- })
- }
- // 登录
- export const login = (data) => {
- return request.post({
- url: '/increase/agent/customer/login',
- data: data
- })
- }
- // 获取验证码
- export const sendCode = (data) => {
- return request.post({
- url: '/increase/agent/customer/sendCode',
- data: data
- })
- }
- // 获取openId
- export const getOpendId = (data) => {
- return request.get({
- url: '/increase/agent/customer/wechatapi/getOpendId',
- data: data
- })
- }
|