forked from free-lancers/electricity_bill_calc_service
		
	feat(user):基本完成用户分页查询列表功能,待测。
This commit is contained in:
		| @@ -23,3 +23,14 @@ type UserDetail struct { | ||||
| func (UserDetail) TableName() string { | ||||
| 	return "user_detail" | ||||
| } | ||||
|  | ||||
| type JoinedUserDetail struct { | ||||
| 	UserDetail `xorm:"extends"` | ||||
| 	Username   string `json:"username"` | ||||
| 	Type       int8   `json:"type"` | ||||
| 	Enabled    bool   `json:"enabled"` | ||||
| } | ||||
|  | ||||
| func (JoinedUserDetail) TableName() string { | ||||
| 	return "user" | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user