|
@@ -41,6 +41,7 @@ type PartnerHTTPServer interface {
|
|
|
FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
|
|
FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
|
|
|
FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
|
|
FindChatTopicTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
|
|
|
FindExamineList(context.Context, *common.ListPage2Request) (*FindExamineListReply, error)
|
|
FindExamineList(context.Context, *common.ListPage2Request) (*FindExamineListReply, error)
|
|
|
|
|
+ FindExamineRecordList(context.Context, *FindExamineRecordListRequest) (*FindExamineRecordListReply, error)
|
|
|
FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
|
|
FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
|
|
|
FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
|
|
FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
|
|
|
FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
|
|
FindMemeTitle(context.Context, *emptypb.Empty) (*common.MemeTitleList, error)
|
|
@@ -146,6 +147,7 @@ func RegisterPartnerHTTPServer(s *http.Server, srv PartnerHTTPServer) {
|
|
|
r.POST("/api/partner/register/examine/list", _Partner_FindExamineList0_HTTP_Handler(srv))
|
|
r.POST("/api/partner/register/examine/list", _Partner_FindExamineList0_HTTP_Handler(srv))
|
|
|
r.POST("/api/partner/register/examine", _Partner_ExaminePartner0_HTTP_Handler(srv))
|
|
r.POST("/api/partner/register/examine", _Partner_ExaminePartner0_HTTP_Handler(srv))
|
|
|
r.POST("/api/manager/login", _Partner_ManagerLogin0_HTTP_Handler(srv))
|
|
r.POST("/api/manager/login", _Partner_ManagerLogin0_HTTP_Handler(srv))
|
|
|
|
|
+ r.POST("/api/manager/register/examine/record/list", _Partner_FindExamineRecordList0_HTTP_Handler(srv))
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func _Partner_GetPartnerInfo0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Context) error {
|
|
func _Partner_GetPartnerInfo0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Context) error {
|
|
@@ -1660,6 +1662,33 @@ func _Partner_ManagerLogin0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Co
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func _Partner_FindExamineRecordList0_HTTP_Handler(srv PartnerHTTPServer) func(ctx http.Context) error {
|
|
|
|
|
+ return func(ctx http.Context) error {
|
|
|
|
|
+ var in FindExamineRecordListRequest
|
|
|
|
|
+ if err := ctx.Bind(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ if err := ctx.BindQuery(&in); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ http.SetOperation(ctx, "/api.partner.Partner/FindExamineRecordList")
|
|
|
|
|
+ h := ctx.Middleware(func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.FindExamineRecordList(ctx, req.(*FindExamineRecordListRequest))
|
|
|
|
|
+ })
|
|
|
|
|
+ out, err := h(ctx, &in)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
|
|
+ success := &reply.SuccessReply{
|
|
|
|
|
+ Code: 0,
|
|
|
|
|
+ }
|
|
|
|
|
+ if out != nil {
|
|
|
|
|
+ success.Data = out
|
|
|
|
|
+ }
|
|
|
|
|
+ return ctx.Result(200, success)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type PartnerHTTPClient interface {
|
|
type PartnerHTTPClient interface {
|
|
|
CheckPhoneCode(ctx context.Context, req *common.CheckPhoneCodeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
CheckPhoneCode(ctx context.Context, req *common.CheckPhoneCodeRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
|
|
|
CreateScrip(ctx context.Context, req *CreateScripRequest, opts ...http.CallOption) (rsp *common.ScripID, err error)
|
|
CreateScrip(ctx context.Context, req *CreateScripRequest, opts ...http.CallOption) (rsp *common.ScripID, err error)
|
|
@@ -1672,6 +1701,7 @@ type PartnerHTTPClient interface {
|
|
|
FindChatTopic(ctx context.Context, req *common.FindChatTopicRequest, opts ...http.CallOption) (rsp *common.ChatTopicList, err error)
|
|
FindChatTopic(ctx context.Context, req *common.FindChatTopicRequest, opts ...http.CallOption) (rsp *common.ChatTopicList, err error)
|
|
|
FindChatTopicTitle(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.MemeTitleList, err error)
|
|
FindChatTopicTitle(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.MemeTitleList, err error)
|
|
|
FindExamineList(ctx context.Context, req *common.ListPage2Request, opts ...http.CallOption) (rsp *FindExamineListReply, err error)
|
|
FindExamineList(ctx context.Context, req *common.ListPage2Request, opts ...http.CallOption) (rsp *FindExamineListReply, err error)
|
|
|
|
|
+ FindExamineRecordList(ctx context.Context, req *FindExamineRecordListRequest, opts ...http.CallOption) (rsp *FindExamineRecordListReply, err error)
|
|
|
FindLookList(ctx context.Context, req *common.ListPageRequest, opts ...http.CallOption) (rsp *statistics.LookAndLikeListReply, err error)
|
|
FindLookList(ctx context.Context, req *common.ListPageRequest, opts ...http.CallOption) (rsp *statistics.LookAndLikeListReply, err error)
|
|
|
FindMemeByType(ctx context.Context, req *common.MemeRequest, opts ...http.CallOption) (rsp *common.MemeList, err error)
|
|
FindMemeByType(ctx context.Context, req *common.MemeRequest, opts ...http.CallOption) (rsp *common.MemeList, err error)
|
|
|
FindMemeTitle(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.MemeTitleList, err error)
|
|
FindMemeTitle(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *common.MemeTitleList, err error)
|
|
@@ -1870,6 +1900,19 @@ func (c *PartnerHTTPClientImpl) FindExamineList(ctx context.Context, in *common.
|
|
|
return &out, err
|
|
return &out, err
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (c *PartnerHTTPClientImpl) FindExamineRecordList(ctx context.Context, in *FindExamineRecordListRequest, opts ...http.CallOption) (*FindExamineRecordListReply, error) {
|
|
|
|
|
+ var out FindExamineRecordListReply
|
|
|
|
|
+ pattern := "/api/manager/register/examine/record/list"
|
|
|
|
|
+ path := binding.EncodeURL(pattern, in, false)
|
|
|
|
|
+ opts = append(opts, http.Operation("/api.partner.Partner/FindExamineRecordList"))
|
|
|
|
|
+ opts = append(opts, http.PathTemplate(pattern))
|
|
|
|
|
+ err := c.cc.Invoke(ctx, "POST", path, in, &out, opts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return &out, err
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func (c *PartnerHTTPClientImpl) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...http.CallOption) (*statistics.LookAndLikeListReply, error) {
|
|
func (c *PartnerHTTPClientImpl) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...http.CallOption) (*statistics.LookAndLikeListReply, error) {
|
|
|
var out statistics.LookAndLikeListReply
|
|
var out statistics.LookAndLikeListReply
|
|
|
pattern := "/api/partner/list/look"
|
|
pattern := "/api/partner/list/look"
|