承接 nobrainer-web/silverstripe-bilinfo 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nobrainer-web/silverstripe-bilinfo

Composer 安装命令:

composer require nobrainer-web/silverstripe-bilinfo

包简介

Implementation of the danish Bilinfo GET listings API

README 文档

README

Implementation of the danish Bilinfo GET listings API

The API is very limited as it simply returns a big payload of json with all vehicle listings.

composer require nobrainer-web/silverstripe-bilinfo

Requirements

  • SilverStripe 4
  • PHP 7.3 (for better json_encode error handling)
  • A user at Bilinfo

API Credentials

The BilInfo API requires a username and password. You must set these in .env with these variables:

  • SS_BILINFO_USER
  • SS_BILINFO_PASSWORD

Example:

  • SS_BILINFO_USER='demo'
  • SS_BILINFO_PASSWORD='ocfB6XzF73'

Build Tasks

To pull down data from the BilInfo API and save it, you can use GetApiDataTask. This task should probably be run as a cron job, once a day.

Then you would use GetSinceDaysDataTask every hour or so, to get latest updated API data. The ?sincedays param is by default set 1.

Deletion

A Listing is "Sold" when the ExternalDeletedDate field is set.

By default automatic clean up of sold listings is enabled. This can be disabled on Listings::$enabled_automatic_cleanup.

Run dev/tasks/bi-cleanup-listings-task to clean up listings. It will check the Listings::$deletion_after_days_sold setting to decide if a Listing should be deleted or not

A note on DB fields in this module

All fields from the API are strings. Some of these fields are mapped to INT instead.

TODO

  • Translations and proper strings for equipment names
  • Support for Video/360 images
  • Support to output other sizes of listing image urls

nobrainer-web/silverstripe-bilinfo 适用场景与选型建议

nobrainer-web/silverstripe-bilinfo 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 56 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 06 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「silverstripe」 「bilinfo」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 nobrainer-web/silverstripe-bilinfo 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 nobrainer-web/silverstripe-bilinfo 我们能提供哪些服务?
定制开发 / 二次开发

基于 nobrainer-web/silverstripe-bilinfo 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 56
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2019-06-13