1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import request from '@/utils/request'
- export function sendCode(data = {}) {
- return request({
- 'url': '/common/app/send/code',
- headers: {
- isToken: false
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function login(data = {}) {
- return request({
- 'url': '/common/app/login/code',
- headers: {
- isToken: false
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function logout(data = {}) {
- return request({
- 'url': '/app/user/my/logout',
- headers: {
- isToken: false
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function wxLogin(data = {}) {
- return request({
- 'url': '/common/app/login/weixin',
- headers: {
- isToken: false
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function telBind(data = {}) {
- return request({
- 'url': '/app/user/my/change/tel',
- headers: {
- isToken: false
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function firstTelBind(data = {}) {
- return request({
- 'url': '/common/app/bind/code',
- headers: {
- isToken: false
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
|