This commit is contained in:
		
							
								
								
									
										6
									
								
								pkg/serializer/login.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								pkg/serializer/login.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| package serializer | ||||
|  | ||||
| type LoginResponse struct { | ||||
| 	Token        string `json:"token"` | ||||
| 	RefreshToken string `json:"refresh_token"` | ||||
| } | ||||
| @@ -12,5 +12,6 @@ type ResponseSerial struct { | ||||
| 50000 服务器操作 | ||||
| */ | ||||
| const ( | ||||
| 	ErrNoUser = 40001 | ||||
| 	ErrNoUser   = 40001 | ||||
| 	ErrBadLogin = 40002 | ||||
| ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user