Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmPhoto ¶
type SmPhoto struct { Id int64 Name string Type string Size int32 Ext string `xorm:"size(100)"` Md5 string `xorm:"size(100)"` Sha1 string `xorm:"size(100)"` Savename string `xorm:"size(200)"` Savepath string `xorm:"size(100)"` Url string UserKey string CreateTime time.Time `xorm:"created"` From string `xorm:"size(50)"` }
func (*SmPhoto) GetAllPhotos ¶
@Title GetAllPhotos @Description 获取分页图片 @param pageOffset int 起始位置 @param pageSize int 每页的数量
func (*SmPhoto) GetPhotoCount ¶
@Title GetPhotoCount @Description 获取数量 @param err error 错误信息 @param count int64 数量
func (*SmPhoto) InsertOnPhoto ¶
Click to show internal directories.
Click to hide internal directories.