refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,23 @@
package setting
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
)
// 修改个人信息
func Info(ctx context.Context, in *pb.Empty) (reply *pb.Empty, err error) {
// parse authorization meta.
_, err = service.ParseMetaCtx(ctx, nil)
if err != nil {
return nil, err
}
// TODO: valid code
// TODO: add your logic code & delete this line.
return
}

View File

@@ -0,0 +1,23 @@
package setting
import (
"context"
"git.apinb.com/bsm-sdk/core/service"
pb "bsm/full/module/social/feed/pb"
)
// 修改权限信息
func Rights(ctx context.Context, in *pb.Empty) (reply *pb.Empty, err error) {
// parse authorization meta.
_, err = service.ParseMetaCtx(ctx, nil)
if err != nil {
return nil, err
}
// TODO: valid code
// TODO: add your logic code & delete this line.
return
}