123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- 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
- })
- }
|