update
This commit is contained in:
parent
8057283a8a
commit
1985d84fcd
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue