mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
fix:修正cookie问题
This commit is contained in:
parent
2470ce6656
commit
dfe13c1a0d
@ -162,10 +162,14 @@ export default class mysTopLogin {
|
||||
// return true;
|
||||
// }
|
||||
let goods = (await this.goodsList())[msg[1]]
|
||||
// let ckData=this.e.user.ckData
|
||||
if (!this.e.cookie) {
|
||||
this.e.reply('请先 #绑定cookie')
|
||||
return true;
|
||||
}
|
||||
let ckData =await utils.getCookieMap(this.e.cookie)
|
||||
let device_id = utils.randomString(4)
|
||||
let order = {
|
||||
"account": "196576671",
|
||||
"account":ckData?.get('ltuid')||ckData.get('account_id'),
|
||||
"region": utils.getServer(this.e.uid),
|
||||
"uid": this.e.uid,
|
||||
"delivery_url": "",
|
||||
|
Loading…
Reference in New Issue
Block a user