|
@@ -75,7 +75,11 @@ func (this *ArticleController) Detail() {
|
|
detail.Body = html.UnescapeString(detail.Body)
|
|
detail.Body = html.UnescapeString(detail.Body)
|
|
detail.Abstract = html.UnescapeString(detail.Abstract)
|
|
detail.Abstract = html.UnescapeString(detail.Abstract)
|
|
if companyPermission == "" {
|
|
if companyPermission == "" {
|
|
- hasPermission = 2
|
|
|
|
|
|
+ if applyCount > 0 {
|
|
|
|
+ hasPermission = 5
|
|
|
|
+ } else {
|
|
|
|
+ hasPermission = 2
|
|
|
|
+ }
|
|
hasFree = 2
|
|
hasFree = 2
|
|
goto Loop
|
|
goto Loop
|
|
} else {
|
|
} else {
|