Explorar el Código

GetShopNaviRequest,修改参数类型

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

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

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