add apis
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by goctl. DO NOT EDIT.
|
||||
// goctl 1.10.1
|
||||
// goctl 1.10.2
|
||||
// Source: chore.proto
|
||||
|
||||
package server
|
||||
@@ -53,6 +53,32 @@ func (s *ChoreServer) SendSms(ctx context.Context, in *chore.SendSmsReq) (*chore
|
||||
return l.SendSms(in)
|
||||
}
|
||||
|
||||
func (s *ChoreServer) ApiSystemItems(ctx context.Context, in *chore.ApiSystemReq) (*chore.Response, error) {
|
||||
l := logic.NewApiSystemItemsLogic(ctx, s.svcCtx)
|
||||
return l.ApiSystemItems(in)
|
||||
}
|
||||
|
||||
func (s *ChoreServer) ApiSystemInfo(ctx context.Context, in *chore.ApiSystemReq) (*chore.Response, error) {
|
||||
l := logic.NewApiSystemInfoLogic(ctx, s.svcCtx)
|
||||
return l.ApiSystemInfo(in)
|
||||
}
|
||||
|
||||
func (s *ChoreServer) ApiAnswerItems(ctx context.Context, in *chore.EmptyReq) (*chore.Response, error) {
|
||||
l := logic.NewApiAnswerItemsLogic(ctx, s.svcCtx)
|
||||
return l.ApiAnswerItems(in)
|
||||
}
|
||||
|
||||
func (s *ChoreServer) ApiAnswerIProgress(ctx context.Context, in *chore.EmptyReq) (*chore.Response, error) {
|
||||
l := logic.NewApiAnswerIProgressLogic(ctx, s.svcCtx)
|
||||
return l.ApiAnswerIProgress(in)
|
||||
}
|
||||
|
||||
func (s *ChoreServer) ApiAnswerSave(ctx context.Context, in *chore.EmptyReq) (*chore.Response, error) {
|
||||
l := logic.NewApiAnswerSaveLogic(ctx, s.svcCtx)
|
||||
return l.ApiAnswerSave(in)
|
||||
}
|
||||
|
||||
// 管理员接口
|
||||
func (s *ChoreServer) AnswerItems(ctx context.Context, in *chore.EmptyReq) (*chore.Response, error) {
|
||||
l := logic.NewAnswerItemsLogic(ctx, s.svcCtx)
|
||||
return l.AnswerItems(in)
|
||||
|
||||
Reference in New Issue
Block a user