| 32 | } |
| 33 | |
| 34 | type APIUser struct { |
| 35 | Uid int `json:"uid"` |
| 36 | Token string `json:"token,omitempty"` |
| 37 | Account string `json:"username,omitempty"` //对应 member.account |
| 38 | Nickname string `json:"nickname"` |
| 39 | Email string `json:"email,omitempty"` |
| 40 | Phone string `json:"phone,omitempty"` |
| 41 | Avatar string `json:"avatar"` |
| 42 | Description string `json:"intro,omitempty"` |
| 43 | } |
| 44 | |
| 45 | type APIBook struct { |
| 46 | BookId int `json:"book_id"` |
nothing calls this directly
no outgoing calls
no test coverage detected