Browse Source

no message

xingzai 8 months ago
parent
commit
2f35e43b16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/cygx_yanxuan_special_user.go

+ 1 - 1
models/cygx_yanxuan_special_user.go

@@ -152,7 +152,7 @@ func GetYanxuanSpecialAuthorList(conditionUserSort, condition string, pars []int
 	o := orm.NewOrm()
 	o := orm.NewOrm()
 	sql := ``
 	sql := ``
 	sql = `SELECT ` + conditionUserSort +
 	sql = `SELECT ` + conditionUserSort +
-		` a.*,
+		` a.*, a.article_num as  apecial_article_num , a.article_collect_num as collect_num,
 	IFNULL(( SELECT publish_time FROM cygx_yanxuan_special WHERE user_id = a.user_id AND STATUS = 3 ORDER BY publish_time DESC LIMIT 1 ), a.modify_time) AS latest_publish_time
 	IFNULL(( SELECT publish_time FROM cygx_yanxuan_special WHERE user_id = a.user_id AND STATUS = 3 ORDER BY publish_time DESC LIMIT 1 ), a.modify_time) AS latest_publish_time
 FROM
 FROM
 	cygx_yanxuan_special_author AS a
 	cygx_yanxuan_special_author AS a