rdluck преди 4 години
родител
ревизия
65a1e2f113
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      controllers/user.go

+ 2 - 0
controllers/user.go

@@ -174,6 +174,8 @@ func (this *UserController) Detail() {
 			}
 			item.SellerName = companyItem.SellerName
 			item.SellerMobile = companyItem.Mobile
+		}else{
+			hasPermission = 1
 		}
 	} else {
 		//判断是否已经申请过