Files
full/module/ec/mall/internal/logic/freight/deny_region_modify.go

22 lines
578 B
Go
Raw Normal View History

package freight
import (
"context"
pb "bsm/full/module/ec/mall/pb"
2026-09-22 21:15:34 +08:00
"git.apinb.com/bsm-sdk/core/errcode"
"git.apinb.com/bsm-sdk/core/service"
)
// ModifyRegion 编辑限制区域
func DenyRegionModify(ctx context.Context, in *pb.DenyRegionItem) (reply *pb.IdentityStatusReply, err error) {
// parse authorization meta.
_, err = service.ParseMetaCtx(ctx, &service.ParseOptions{RoleValue: "Mall_Admin"})
if err != nil {
return nil, err
}
2026-09-22 21:15:34 +08:00
// 该接口尚未实现,显式返回未实现错误,避免调用方误判成功。
return nil, errcode.ErrUnimplemented
}