This commit is contained in:
cdle 2021-08-18 15:30:48 +08:00
parent 3cf2c3b08a
commit 203ea0eb6e

View File

@ -527,6 +527,6 @@ func jsGold(cookie string, state chan int64) {
req.Header("Content-Type", "application/x-www-form-urlencoded")
req.Body(`functionId=MyAssetsService.execute&body={"method":"goldShopPage","data":{"channel":1}}&_t=1629271472844&appid=market-task-h5;`)
data, _ := req.Bytes()
gold, _ := jsonparser.GetInt(data, "data.content.balanceVO.formateGoldBalance")
gold, _ := jsonparser.GetInt(data, "data.balanceVO.formateGoldBalance")
state <- gold
}