|
@@ -357,6 +357,10 @@ class UidSetView(View):
|
|
userID = tko.userID
|
|
userID = tko.userID
|
|
if userID is None:
|
|
if userID is None:
|
|
return response.json(309)
|
|
return response.json(309)
|
|
|
|
+
|
|
|
|
+ channel = int(channel)
|
|
|
|
+ if channel < 1:
|
|
|
|
+ return response.json(444, 'channel')
|
|
try:
|
|
try:
|
|
redisObj = RedisObject(db=8)
|
|
redisObj = RedisObject(db=8)
|
|
redisObj.del_data(key='uid_qs_' + userID)
|
|
redisObj.del_data(key='uid_qs_' + userID)
|