refactor: reorganize modules and add Linux build tooling
This commit is contained in:
26
module/social/feed/internal/server/setting_server.go
Normal file
26
module/social/feed/internal/server/setting_server.go
Normal file
@@ -0,0 +1,26 @@
|
||||
// Code generated by protoc-gen-slc. DO NOT EDIT.
|
||||
package server
|
||||
|
||||
import (
|
||||
"context"
|
||||
"bsm/full/module/social/feed/internal/logic/setting"
|
||||
pb "bsm/full/module/social/feed/pb"
|
||||
)
|
||||
|
||||
type SettingServer struct {
|
||||
pb.UnimplementedSettingServer
|
||||
}
|
||||
|
||||
func NewSettingServer() *SettingServer {
|
||||
return &SettingServer{}
|
||||
}
|
||||
|
||||
// 修改个人信息
|
||||
func (s *SettingServer) Info(ctx context.Context, in *pb.Empty) (*pb.Empty, error) {
|
||||
return setting.Info(ctx, in)
|
||||
}
|
||||
|
||||
// 修改权限信息
|
||||
func (s *SettingServer) Rights(ctx context.Context, in *pb.Empty) (*pb.Empty, error) {
|
||||
return setting.Rights(ctx, in)
|
||||
}
|
||||
Reference in New Issue
Block a user