zengyicheng 1 سال پیش
والد
کامیت
e76990f67d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ssti.js

+ 1 - 1
ssti.js

@@ -480,7 +480,7 @@ router.post('/GetProjectIsConclusion', (req, res) => {
     const str = req.headers.cookie ? req.headers.cookie : '';
     const getUserid = getUid(str);
     mysql.usselect([_mysqlLabor[0], _mysqlLabor[1], 'selectUserIdentity', data['uid']], (ret3) => {
-        if (ret3[0][0].type == 0) {
+        if (ret3[0][0].type == 0 || ret3[0][0].type == 1 || ret3[0][0].type == 2) {
             if (md5(data['uid']) == getUserid) {
                 QMysql(req, res, "select_ProjectIsConclusion");
             } else {