change token_test to wechatUser
This commit is contained in:
@@ -3,6 +3,7 @@ import { TicketListItem } from '@/components/TicketListItem/TicketListItem';
|
||||
import Taro from '@tarojs/taro';
|
||||
import moment from 'moment';
|
||||
import { FixStatus } from '@/common';
|
||||
import wechatUser from '@/wechat';
|
||||
import { getUrl } from '.';
|
||||
|
||||
export function getMyTicketList(that: MyTicketPage) {
|
||||
@@ -10,7 +11,7 @@ export function getMyTicketList(that: MyTicketPage) {
|
||||
url: getUrl('/user/mytickets'),
|
||||
method: 'GET',
|
||||
data: {
|
||||
token: 'token_test',
|
||||
token: wechatUser.getToken(),
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user