Documentation ¶
Index ¶
- func FollowByPinAndVid(req *FollowByPinAndVidRequest) (bool, error)
- func FollowProduct(req *FollowProductRequest) (bool, error)
- func IsFollowByPinAndVid(req *IsFollowByPinAndVidRequest) (bool, error)
- func QueryForCountByVid(req *QueryForCountByVidRequest) (uint64, error)
- type FollowByPinAndVidData
- type FollowByPinAndVidRequest
- type FollowByPinAndVidResponse
- type FollowByPinAndVidResult
- type FollowProductData
- type FollowProductRequest
- type FollowProductResponse
- type FollowProductResult
- type IsFollowByPinAndVidData
- type IsFollowByPinAndVidRequest
- type IsFollowByPinAndVidResponse
- type IsFollowByPinAndVidResult
- type QueryForCountByVidData
- type QueryForCountByVidRequest
- type QueryForCountByVidResponse
- type QueryForCountByVidResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FollowByPinAndVid ¶
func FollowByPinAndVid(req *FollowByPinAndVidRequest) (bool, error)
func FollowProduct ¶
func FollowProduct(req *FollowProductRequest) (bool, error)
TODO 通过pin将商品加入用户关注栏
func IsFollowByPinAndVid ¶
func IsFollowByPinAndVid(req *IsFollowByPinAndVidRequest) (bool, error)
func QueryForCountByVid ¶
func QueryForCountByVid(req *QueryForCountByVidRequest) (uint64, error)
Types ¶
type FollowByPinAndVidData ¶
type FollowByPinAndVidData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` Result *FollowByPinAndVidResult `json:"followbypinandvid_result,omitempty" codec:"followbypinandvid_result,omitempty"` }
type FollowByPinAndVidRequest ¶
type FollowByPinAndVidRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // ShopId uint64 `json:"shop_id,omitempty" codec:"shop_id,omitempty"` // 自定义返回字段 }
type FollowByPinAndVidResponse ¶
type FollowByPinAndVidResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *FollowByPinAndVidData `` /* 146-byte string literal not displayed */ }
type FollowByPinAndVidResult ¶
type FollowProductData ¶
type FollowProductData struct { Result *FollowProductResult `json:"follow_result,omitempty" codec:"follow_result,omitempty"` Code string `json:"code"` }
type FollowProductRequest ¶
type FollowProductRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` //加密pin ProductId uint64 `json:"productId,omitempty" codec:"productId,omitempty"` //skuid }
type FollowProductResponse ¶
type FollowProductResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *FollowProductData `` /* 142-byte string literal not displayed */ }
type FollowProductResult ¶
type IsFollowByPinAndVidData ¶
type IsFollowByPinAndVidData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` Result *IsFollowByPinAndVidResult `json:"isfollowbypinandvid_result,omitempty" codec:"isfollowbypinandvid_result,omitempty"` }
type IsFollowByPinAndVidRequest ¶
type IsFollowByPinAndVidRequest struct { api.BaseRequest Pin string `json:"pin,omitempty" codec:"pin,omitempty"` // ShopId uint64 `json:"shop_id,omitempty" codec:"shop_id,omitempty"` // 自定义返回字段 }
type IsFollowByPinAndVidResponse ¶
type IsFollowByPinAndVidResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *IsFollowByPinAndVidData `` /* 148-byte string literal not displayed */ }
type QueryForCountByVidData ¶
type QueryForCountByVidData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` Result *QueryForCountByVidResult `json:"queryforcountbyvid_result,omitempty" codec:"queryforcountbyvid_result,omitempty"` }
type QueryForCountByVidRequest ¶
type QueryForCountByVidRequest struct { api.BaseRequest ShopId uint64 }
type QueryForCountByVidResponse ¶
type QueryForCountByVidResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *QueryForCountByVidData `` /* 146-byte string literal not displayed */ }
Click to show internal directories.
Click to hide internal directories.