feat: import services and standardize Go 1.26.5

This commit is contained in:
2026-08-09 10:43:45 +08:00
parent 689c74b28f
commit 86024fa81d
1456 changed files with 220765 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
// Code generated by protoc-gen-slc. DO NOT EDIT.
package server
import (
"context"
"git.apinb.com/bsm-apps/initial/internal/logic/data"
pb "git.apinb.com/bsm-apps/initial/pb"
)
type DataServer struct {
pb.UnimplementedDataServer
}
func NewDataServer() *DataServer {
return &DataServer{}
}
func (s *DataServer) Country(ctx context.Context, in *pb.Empty) (*pb.CountryReply, error) {
return data.Country(ctx, in)
}
// 系统区域数据,默认级别:市
func (s *DataServer) Areas(ctx context.Context, in *pb.AreasRequest) (*pb.AreasReply, error) {
return data.Areas(ctx, in)
}
// 系统数据
func (s *DataServer) Datas(ctx context.Context, in *pb.Empty) (*pb.DatasReply, error) {
return data.Datas(ctx, in)
}