change token_test to wechatUser

This commit is contained in:
Dawn_Ocean
2024-03-21 14:38:40 +08:00
parent 7d1ae68643
commit a7c96b2e8c
16 changed files with 32 additions and 19 deletions
+2 -1
View File
@@ -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) => {