This commit is contained in:
SiHuan 2021-08-12 19:11:13 +08:00
parent 8057283a8a
commit 1985d84fcd
No known key found for this signature in database
GPG key ID: A047C9783A4C18AA

View file

@ -42,8 +42,11 @@ def getsetu(keyword=''):
except: except:
return 500, '',0 return 500, '',0
picurl = '' picurl = ''
pid = 0
if resp['code'] == 0: if resp['code'] == 0:
picurl = "https://r.zjuyk.site/" + resp['data'][0]['url'] picurl = "https://r.zjuyk.site/" + resp['data'][0]['url']
pid = resp['data'][0]['pid']
return resp['code'], picurl, resp['data'][0]['pid'] return resp['code'], picurl, pid