clear:删除一些console.log
This commit is contained in:
@@ -64,7 +64,7 @@ export class GmHandler {
|
||||
} catch (e) {
|
||||
return resResult(STATUS.GM_JSON_FORMAT_ERR);
|
||||
}
|
||||
console.log(uid, serverId)
|
||||
// console.log(uid, serverId)
|
||||
let role = await RoleModel.findByUid(uid, serverId);
|
||||
if (!role) return resResult(STATUS.GM_ROLE_NOT_FOUND);
|
||||
let { roleId } = role;
|
||||
@@ -319,7 +319,7 @@ export class GmHandler {
|
||||
if(!activityGroupType) return resResult(STATUS.GM_ACTIVITY_GROUP_TYPE_NOT_FOUND);
|
||||
let dic = activityGroupType.activityTypes;
|
||||
let curDic = dic.find(cur => cur.index == index);
|
||||
console.log(dic, curDic)
|
||||
// console.log(dic, curDic)
|
||||
if(curDic.activityType != activity.type) return resResult(STATUS.GM_ACTIVITY_NOT_FIT_GROUP_TYPE)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user