|
@@ -44,7 +44,7 @@ type ResourceController struct {
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
func (this *ResourceController) List() {
|
|
@@ -71,7 +71,7 @@ func (this *ResourceController) List() {
|
|
|
|
|
|
IsShowMe, _ := this.GetBool("IsShowMe")
|
|
|
|
|
|
- isShowPulic, _ := this.GetBool("IsShowPulic")
|
|
|
+ isShowPublic, _ := this.GetBool("IsShowPublic")
|
|
|
|
|
|
var startSize int
|
|
|
if pageSize <= 0 {
|
|
@@ -97,7 +97,7 @@ func (this *ResourceController) List() {
|
|
|
pars = append(pars, this.SysUser.AdminId)
|
|
|
}
|
|
|
|
|
|
- if isShowPulic {
|
|
|
+ if isShowPublic {
|
|
|
condition += ` AND state = ? `
|
|
|
pars = append(pars, knowledge.KnowledgeResourceStatePassed)
|
|
|
}
|