refactor: reorganize modules and add Linux build tooling
This commit is contained in:
22
module/ec/market/internal/logic/data/overview.go
Normal file
22
module/ec/market/internal/logic/data/overview.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package data
|
||||
|
||||
import (
|
||||
"context"
|
||||
pb "bsm/full/module/ec/market/pb"
|
||||
"git.apinb.com/bsm-sdk/core/service"
|
||||
)
|
||||
|
||||
// 概况
|
||||
func Overview(ctx context.Context, in *pb.Empty) (reply *pb.OverviewReply, 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
|
||||
}
|
||||
Reference in New Issue
Block a user