rdluck %!s(int64=4) %!d(string=hai) anos
pai
achega
65a1e2f113
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 {
 		//判断是否已经申请过