xingzai 9 сар өмнө
parent
commit
3d302a490e

+ 1 - 1
models/cygx_yanxuan_special_user.go

@@ -138,7 +138,7 @@ func GetYanxuanSpecialAuthorList(condition string, pars []interface{}, startSize
 	o := orm.NewOrm()
 	sql := ``
 	sql = `SELECT
-	a.*,
+	a.*, a.article_num as  special_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
 FROM
 	cygx_yanxuan_special_author AS a