|
@@ -21,31 +21,32 @@ type CygxYanxuanSpecial struct {
|
|
|
Type string
|
|
|
}
|
|
|
|
|
|
-type CygxYanxuanSpecialItem struct {
|
|
|
- Id int `orm:"column(id);pk"`
|
|
|
- UserId int
|
|
|
- CreateTime string
|
|
|
- ModifyTime string
|
|
|
- PublishTime string
|
|
|
- Content string
|
|
|
- Tags string
|
|
|
- Status int
|
|
|
- ImgUrl string
|
|
|
- DocUrl string
|
|
|
- SpecialName string
|
|
|
- Introduction string
|
|
|
- Label string
|
|
|
- NickName string
|
|
|
- RealName string
|
|
|
- Mobile string
|
|
|
- HeadImg string
|
|
|
- BgImg string
|
|
|
- Reason string
|
|
|
- Title string
|
|
|
- Type int
|
|
|
+type CygxYanxuanSpeciaResplItem struct {
|
|
|
+ Id int `orm:"column(id);pk"`
|
|
|
+ UserId int
|
|
|
+ CreateTime string
|
|
|
+ ModifyTime string
|
|
|
+ PublishTime string
|
|
|
+ Content string
|
|
|
+ Tags string
|
|
|
+ Status int
|
|
|
+ ImgUrl string
|
|
|
+ DocUrl string
|
|
|
+ SpecialName string
|
|
|
+ Introduction string
|
|
|
+ Label string
|
|
|
+ NickName string
|
|
|
+ RealName string
|
|
|
+ Mobile string
|
|
|
+ HeadImg string
|
|
|
+ BgImg string
|
|
|
+ Reason string
|
|
|
+ Title string
|
|
|
+ Type int
|
|
|
+ ContentHasImg int
|
|
|
}
|
|
|
|
|
|
-func GetYanxuanSpecialList(condition string, pars []interface{}) (items []*CygxYanxuanSpecialItem, err error) {
|
|
|
+func GetYanxuanSpecialList(condition string, pars []interface{}) (items []*CygxYanxuanSpeciaResplItem, err error) {
|
|
|
o := orm.NewOrm()
|
|
|
sql := ``
|
|
|
sql = `SELECT a.*,b.bg_img,b.head_img,b.introduction,b.label,b.mobile,b.nick_name,b.real_name,b.special_name
|