MCPcopy Create free account

hub / github.com/aliliin/kratos-shop / functions

Functions5,359 in github.com/aliliin/kratos-shop

↓ 53 callersMethodError
Error returns a concatenation of all the error messages it wraps.
service/goods/api/goods/v1/goods.pb.validate.go:282
↓ 32 callersFunctionfile_api_goods_v1_goods_proto_rawDescGZIP
()
service/goods/api/goods/v1/goods.pb.go:3118
↓ 32 callersFunctionfile_goods_v1_goods_proto_rawDescGZIP
()
service/order/api/goods/v1/goods.pb.go:3118
↓ 31 callersMethodError
Error returns a concatenation of all the error messages it wraps.
service/order/api/goods/v1/goods.pb.validate.go:282
↓ 30 callersMethodError
Error returns a concatenation of all the error messages it wraps.
service/user/api/user/v1/user.pb.validate.go:872
↓ 22 callersMethodValidate
Validate checks the field values on AttrRequest with the rules defined in the proto definition for this message. If any rules are violated, the first
service/goods/api/goods/v1/goods.pb.validate.go:167
↓ 22 callersMethodValidate
Validate checks the field values on AttrRequest with the rules defined in the proto definition for this message. If any rules are violated, the first
service/order/api/goods/v1/goods.pb.validate.go:167
↓ 16 callersMethodCheckPassword
(ctx context.Context, password, encryptedPassword string)
admin/internal/biz/user.go:42
↓ 16 callersMethodCreateUser
(c context.Context, u *User)
admin/internal/biz/user.go:39
↓ 16 callersMethodUpdateAddress
(ctx context.Context, in *UpdateAddressReq, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:32
↓ 15 callersMethodCreateAddress
(ctx context.Context, in *CreateAddressReq, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:30
↓ 15 callersMethodDB
DB 根据此方法来判断当前的 db 是不是使用 事务的 DB
service/goods/internal/data/data.go:72
↓ 15 callersMethodError
Error returns a concatenation of all the error messages it wraps.
service/order/api/user/v1/user.pb.validate.go:872
↓ 15 callersFunctionfile_api_service_user_v1_user_proto_rawDescGZIP
()
shop/api/service/user/v1/user.pb.go:1220
↓ 15 callersFunctionfile_api_service_user_v1_user_proto_rawDescGZIP
()
admin/api/service/user/v1/user.pb.go:1220
↓ 15 callersFunctionfile_api_user_v1_user_proto_rawDescGZIP
()
service/user/api/user/v1/user.pb.go:1223
↓ 15 callersFunctionfile_conf_conf_proto_rawDescGZIP
()
service/order/internal/conf/conf.pb.go:996
↓ 15 callersFunctionfile_user_v1_user_proto_rawDescGZIP
()
service/order/api/user/v1/user.pb.go:1223
↓ 14 callersMethodDefaultAddress
(ctx context.Context, in *AddressReq, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:33
↓ 14 callersMethodDeleteAddress
(ctx context.Context, in *AddressReq, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:34
↓ 14 callersMethodError
Error returns a concatenation of all the error messages it wraps.
shop/api/service/user/v1/user.pb.validate.go:872
↓ 14 callersMethodError
Error returns a concatenation of all the error messages it wraps.
admin/api/service/user/v1/user.pb.validate.go:872
↓ 14 callersFunctionfile_internal_conf_conf_proto_rawDescGZIP
()
shop/internal/conf/conf.pb.go:904
↓ 13 callersMethodScan
(value interface{})
service/goods/internal/data/base.go:16
↓ 13 callersFunctionfile_internal_conf_conf_proto_rawDescGZIP
()
admin/internal/conf/conf.pb.go:825
↓ 12 callersMethodError
Error returns a concatenation of all the error messages it wraps.
shop/api/shop/v1/shop.pb.validate.go:1295
↓ 12 callersMethodError
Error returns a concatenation of all the error messages it wraps.
admin/api/admin/v1/admin.pb.validate.go:1271
↓ 12 callersFunctionfile_api_admin_v1_admin_proto_rawDescGZIP
()
admin/api/admin/v1/admin.pb.go:1088
↓ 12 callersFunctionfile_api_shop_v1_shop_proto_rawDescGZIP
()
shop/api/shop/v1/shop.pb.go:1107
↓ 11 callersMethodError
Error returns a concatenation of all the error messages it wraps.
service/cart/api/cart/v1/cart.pb.validate.go:992
↓ 11 callersMethodGetUserByMobile
(ctx context.Context, in *MobileRequest, opts ...grpc.CallOption)
admin/api/service/user/v1/user_grpc.pb.go:27
↓ 11 callersMethodListAddress
收货地址
admin/api/service/user/v1/user_grpc.pb.go:33
↓ 11 callersMethodValidateAll
ValidateAll checks the field values on AttrRequest with the rules defined in the proto definition for this message. If any rules are violated, the res
service/goods/api/goods/v1/goods.pb.validate.go:175
↓ 11 callersMethodValidateAll
ValidateAll checks the field values on AttrRequest with the rules defined in the proto definition for this message. If any rules are violated, the res
service/order/api/goods/v1/goods.pb.validate.go:175
↓ 11 callersFunctionfile_cart_v1_cart_proto_rawDescGZIP
()
service/cart/api/cart/v1/cart.pb.go:720
↓ 11 callersFunctionfile_cart_v1_cart_proto_rawDescGZIP
()
service/order/api/cart/v1/cart.pb.go:720
↓ 11 callersFunctionfile_internal_conf_conf_proto_rawDescGZIP
()
service/goods/internal/conf/conf.pb.go:766
↓ 10 callersMethodError
Error returns a concatenation of all the error messages it wraps.
service/order/api/cart/v1/cart.pb.validate.go:992
↓ 10 callersMethodUpdateUser
(context.Context, *User)
service/user/internal/biz/user.go:30
↓ 10 callersFunctionfile_conf_conf_proto_rawDescGZIP
()
service/cart/internal/conf/conf.pb.go:704
↓ 10 callersFunctionfile_internal_conf_conf_proto_rawDescGZIP
()
service/user/internal/conf/conf.pb.go:706
↓ 9 callersMethodGetUserById
(ctx context.Context, id int64)
service/user/internal/biz/user.go:29
↓ 9 callersMethodGetUserList
(ctx context.Context, in *PageInfo, opts ...grpc.CallOption)
admin/api/service/user/v1/user_grpc.pb.go:26
↓ 8 callersMethodAddressListByUid
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
shop/api/shop/v1/shop_grpc.pb.go:31
↓ 7 callersMethodCreate
(context.Context, *domain.Brand)
service/goods/internal/biz/brand.go:16
↓ 6 callersMethodCreate
(ctx context.Context, c *domain.ShopCart)
service/cart/internal/biz/cart.go:11
↓ 6 callersMethodGetIndexName
GetIndexName 设计商品的索引 goods
service/goods/internal/data/es_goods.go:15
↓ 5 callersMethodBrandList
商品品牌
service/order/api/goods/v1/goods_grpc.pb.go:33
↓ 5 callersMethodCreateAttrGroup
商品参数属性 ,手机:主体,屏幕, 操作系统,网络支持之类的
service/order/api/goods/v1/goods_grpc.pb.go:44
↓ 5 callersMethodCreateAttrValue
商品参数属性组下的一些信息 ,主体:上市年份 产品名称 ,网络支持 5G网络,双卡双待类型,
service/order/api/goods/v1/goods_grpc.pb.go:46
↓ 5 callersMethodCreateBrand
(ctx context.Context, in *BrandRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:34
↓ 5 callersMethodCreateCart
(ctx context.Context, in *CreateCartRequest, opts ...grpc.CallOption)
service/order/api/cart/v1/cart_grpc.pb.go:25
↓ 5 callersMethodCreateCategory
(ctx context.Context, in *CategoryInfoRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:29
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/user/internal/mocks/mrepo/user.go:34
↓ 5 callersMethodList
(ctx context.Context, userId int64)
service/cart/internal/biz/cart.go:12
↓ 5 callersMethodListCart
(ctx context.Context, in *ListCartRequest, opts ...grpc.CallOption)
service/order/api/cart/v1/cart_grpc.pb.go:28
↓ 5 callersMethodUpdateBrand
(ctx context.Context, in *BrandRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:36
↓ 5 callersFunctiongetUid
(ctx context.Context)
shop/internal/biz/address.go:123
↓ 5 callersFunctiongetUid
(ctx context.Context)
admin/internal/biz/address.go:123
↓ 4 callersMethodCreateGoods
(ctx context.Context, goods *domain.Goods)
service/goods/internal/biz/goods.go:14
↓ 4 callersMethodCreateGoodsSpecification
创建商品规格 也就是 手机的颜色、内存版本、购买方式之类的 商品规格的值,比如手机颜色对应的有 红、白、黑,内存,128g、256g, 也一起创建了
service/order/api/goods/v1/goods_grpc.pb.go:42
↓ 4 callersMethodDeleteBrand
(ctx context.Context, in *BrandRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:35
↓ 4 callersMethodDeleteCart
(ctx context.Context, in *DeleteCartRequest, opts ...grpc.CallOption)
service/order/api/cart/v1/cart_grpc.pb.go:27
↓ 4 callersMethodDeleteCategory
(context.Context, int32)
service/goods/internal/biz/category.go:38
↓ 4 callersMethodExecTx
(context.Context, func(ctx context.Context) error)
service/order/internal/biz/biz.go:13
↓ 4 callersMethodGetAddress
(ctx context.Context, a *domain.Address)
service/user/internal/biz/address.go:16
↓ 4 callersMethodGetAllCategoryList
商品分类
service/order/api/goods/v1/goods_grpc.pb.go:27
↓ 4 callersMethodGetSubCategory
(ctx context.Context, in *CategoryListRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:28
↓ 4 callersMethodGoodsList
(ctx context.Context, es *domain.EsSearch)
service/goods/internal/biz/es_goods.go:12
↓ 4 callersMethodIsExistsByID
(context.Context, int64)
service/goods/internal/biz/goods_type.go:15
↓ 4 callersMethodString
()
shop/api/shop/v1/shop.pb.go:726
↓ 4 callersMethodString
()
service/user/api/user/v1/user.pb.go:580
↓ 4 callersMethodString
()
admin/api/admin/v1/admin.pb.go:724
↓ 4 callersMethodUpdateCart
(ctx context.Context, in *UpdateCartRequest, opts ...grpc.CallOption)
service/order/api/cart/v1/cart_grpc.pb.go:26
↓ 4 callersMethodUpdateCategory
(context.Context, *CategoryInfo)
service/goods/internal/biz/category.go:34
↓ 4 callersMethodUpdateGoods
(ctx context.Context, in *CreateGoodsRequest, opts ...grpc.CallOption)
service/order/api/goods/v1/goods_grpc.pb.go:49
↓ 4 callersMethodUserById
(ctx context.Context, Id int64)
admin/internal/biz/user.go:41
↓ 4 callersMethodUserByMobile
(ctx context.Context, mobile string)
admin/internal/biz/user.go:40
↓ 4 callersFunctionUserResponse
(user *biz.User)
service/user/internal/service/user.go:64
↓ 4 callersMethodValidate
Validate checks the field values on PageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first err
shop/api/service/user/v1/user.pb.validate.go:837
↓ 4 callersMethodValidate
Validate checks the field values on PageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first err
service/user/api/user/v1/user.pb.validate.go:837
↓ 4 callersMethodValidate
Validate checks the field values on PageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first err
service/order/api/user/v1/user.pb.validate.go:837
↓ 4 callersMethodValidate
Validate checks the field values on PageInfo with the rules defined in the proto definition for this message. If any rules are violated, the first err
admin/api/service/user/v1/user.pb.validate.go:837
↓ 3 callersMethodCreateAddress
(ctx context.Context, a *Address)
admin/internal/biz/address.go:26
↓ 3 callersMethodCreateGoodsType
(context.Context, *domain.GoodsType)
service/goods/internal/biz/goods_type.go:12
↓ 3 callersMethodCreateOrder
(ctx context.Context, in *OrderRequest, opts ...grpc.CallOption)
service/order/api/order/v1/order_grpc.pb.go:25
↓ 3 callersMethodDefaultAddress
(ctx context.Context, a *Address)
admin/internal/biz/address.go:29
↓ 3 callersMethodDeleteAddress
(ctx context.Context, a *Address)
admin/internal/biz/address.go:30
↓ 3 callersMethodGetAddress
(ctx context.Context, in *AddressReq, opts ...grpc.CallOption)
service/order/api/user/v1/user_grpc.pb.go:38
↓ 3 callersMethodGetCategoryByID
(ctx context.Context, id int32)
service/goods/internal/biz/category.go:36
↓ 3 callersMethodGetUserById
(ctx context.Context, in *IdRequest, opts ...grpc.CallOption)
admin/api/service/user/v1/user_grpc.pb.go:28
↓ 3 callersMethodIsTypeIDEmpty
()
service/goods/internal/domain/goods_attr.go:12
↓ 3 callersMethodListByIds
(context.Context, ...int32)
service/goods/internal/biz/brand.go:22
↓ 3 callersMethodListUser
(ctx context.Context, pageNum, pageSize int)
service/user/internal/biz/user.go:27
↓ 3 callersMethodToDomain
()
service/goods/internal/data/goods_attr.go:74
↓ 3 callersMethodUpdateAddress
(ctx context.Context, a *Address)
admin/internal/biz/address.go:28
↓ 3 callersMethodValue
()
service/goods/internal/data/base.go:12
↓ 3 callersFunctionfile_order_v1_order_proto_rawDescGZIP
()
service/order/api/order/v1/order.pb.go:347
↓ 3 callersFunctionmodelToResponse
ModelToResponse 转换 user 表中所有字段的值
service/user/internal/data/user.go:75
↓ 2 callersMethodAddAddress
(ctx context.Context, a *domain.Address)
service/user/internal/biz/address.go:28
next →1–100 of 5,359, ranked by callers