mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-25 18:08:24 +08:00
10 lines
860 B
JavaScript
10 lines
860 B
JavaScript
|
var obj = JSON.parse($response.body);
|
||
|
|
||
|
var id = obj.userid;
|
||
|
|
||
|
obj = {"exp":0,"level":3,"privilege":[{"spid":"data_recover","times":0,"expire_time":1631619709},{"spid":"ocr","times":0,"expire_time":1631619709},{"spid":"pdf2doc","times":0,"expire_time":1631619709},{"spid":"pdf_merge","times":0,"expire_time":1631619709},{"spid":"pdf_sign","times":0,"expire_time":1631619709},{"spid":"pdf_split","times":0,"expire_time":1631619709}],"result":"ok","total_buy":0,"total_cost":-30,"userid":0000,"vip":{"name":"超级会员","has_ad":0,"memberid":40,"expire_time":1631619709,"enabled":[{"memberid":40,"name":"超级会员","expire_time":1631619709},{"memberid":20,"name":"WPS会员","expire_time":1631619709},{"memberid":12,"name":"稻壳会员","expire_time":1631619709}]},"wealth":0,"expire_time":1631619709};
|
||
|
|
||
|
obj.userid = id;
|
||
|
|
||
|
$done({body: JSON.stringify(obj)});
|