| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- 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
- })
- }
- export function getVersion(data = {}) {
- return request({
- 'url': '/common/app/version',
- headers: {
- isToken: false
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function banbenImpinfo(data = {}) {
- return request({
- 'url': '/app/chanpin/tongyong/banben/impinfo',
- headers: {
- isToken: false
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
|