Browse Source

Merge branch 'cygx_12.9' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 year ago
parent
commit
7c6e6714be
1 changed files with 2 additions and 2 deletions
  1. 2 2
      services/company_permission.go

+ 2 - 2
services/company_permission.go

@@ -121,9 +121,9 @@ func GetUserHasPermissionArticle(user *models.WxUserItem) (hasPermission int, se
 		}
 		if companyPermission != "" {
 			if applyCount > 0 {
-				hasPermission = 2
-			} else {
 				hasPermission = 3
+			} else {
+				hasPermission = 2
 				//获取权益销售信息 如果是FICC的客户类型,则默认他申请过
 				sellerItemQy, e := models.GetSellerByCompanyIdCheckFicc(user.CompanyId, 2)
 				if e != nil && e.Error() != utils.ErrNoRow() {