refactor: localize protobuf definitions
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
// 广告列表
|
||||
func Fetch(ctx context.Context, in *pb.FetchRequest) (reply *pb.AdsListReply, err error) {
|
||||
func Fetch(ctx context.Context, in *pb.MallFetchRequest) (reply *pb.AdsListReply, err error) {
|
||||
if in.GetStoreIdentity() == "" {
|
||||
return nil, errcode.ErrInvalidArgument
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user