fix
This commit is contained in:
		
							parent
							
								
									d876884397
								
							
						
					
					
						commit
						15eb99d975
					
				@ -5,9 +5,6 @@ import (
 | 
			
		||||
	"fusenapi/utils/basic"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Request struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type RequestBasicInfoForm struct {
 | 
			
		||||
	FirstName            string `json:"first_name"`             // FirstName
 | 
			
		||||
	LastName             string `json:"last_name"`              // LastName
 | 
			
		||||
@ -111,20 +108,15 @@ type DataAddressList struct {
 | 
			
		||||
	IsDefault int64  `json:"is_default"` // 1默认地址,0非默认地址
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Request struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Response struct {
 | 
			
		||||
	Code    int         `json:"code"`
 | 
			
		||||
	Message string      `json:"msg"`
 | 
			
		||||
	Data    interface{} `json:"data"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type ResponseJwt struct {
 | 
			
		||||
	Code         int         `json:"code"`
 | 
			
		||||
	Message      string      `json:"msg"`
 | 
			
		||||
	Data         interface{} `json:"data"`
 | 
			
		||||
	AccessSecret string      `json:"accessSecret"`
 | 
			
		||||
	AccessExpire int64       `json:"accessExpire"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type Auth struct {
 | 
			
		||||
	AccessSecret string `json:"accessSecret"`
 | 
			
		||||
	AccessExpire int64  `json:"accessExpire"`
 | 
			
		||||
 | 
			
		||||
@ -9,11 +9,6 @@ info (
 | 
			
		||||
 | 
			
		||||
import "basic.api"
 | 
			
		||||
 | 
			
		||||
type request {
 | 
			
		||||
	// TODO: add members here and delete this comment
 | 
			
		||||
	// Name string `form:"name"` // parameters are auto validated
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
service home-user-auth {
 | 
			
		||||
	@handler UserLoginHandler
 | 
			
		||||
	post /user/login(RequestUserLogin) returns (response);
 | 
			
		||||
@ -44,7 +39,7 @@ service home-user-auth {
 | 
			
		||||
	
 | 
			
		||||
	// @handler UserOderListHandler
 | 
			
		||||
	// get /user/order-list(RequestOrderId) returns (response);
 | 
			
		||||
 | 
			
		||||
	
 | 
			
		||||
	@handler UserOderDeleteHandler
 | 
			
		||||
	post /user/order-delete(RequestOrderId) returns (response);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user