|
@@ -1200,9 +1200,9 @@ class CloudStorageView(View):
|
|
|
lang = request_dict.get('lang', 'en')
|
|
|
|
|
|
redisObj = RedisObject()
|
|
|
- redisObj.CONN.setnx(uid+'do_experience_order', 1)
|
|
|
+ isLock = redisObj.CONN.setnx(uid+'do_experience_order', 1)
|
|
|
re.CONN.expire(uid+'do_experience_order', 60)
|
|
|
- if not res:
|
|
|
+ if not isLock:
|
|
|
return json(200000, 'Invalid request')
|
|
|
|
|
|
if cdk is not None and pay_type == 11:
|