Explorar el Código

GetShopNaviRequest,修改参数类型

jyq hace 4 años
padre
commit
817634b51c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      repository/grpc/bsw/im/api.go

+ 2 - 2
repository/grpc/bsw/im/api.go

@@ -152,9 +152,9 @@ func LicenseTypeMap(idList []int64) *im.LicenseTypeMapReply {
 	return rs
 }
 
-func GetShopNavi(userId, shopId int64, parentId int32) *im.UserGetColumnListReply {
+func GetShopNavi(userId, shopId int64, parentId int64) *im.UserGetColumnListReply {
 
-	request := &im.UserGetColumnListRequest{UserId: userId, ShopId: shopId, ParentId: int64(parentId)}
+	request := &im.UserGetColumnListRequest{UserId: userId, ShopId: shopId, ParentId: parentId}
 
 	rs, err := getClient().UserGetColumnList(ctx(), request)
 	handleErr(err)