Phase1 后端核心:
- 新增 fsgx_v1.sql 迁移脚本(is_queue_goods/frozen_points/available_points/no_assess)
- SystemConfigServices 返佣设置扩展(周期人数/分档比例/范围/时机)
- StoreOrderCreateServices 周期循环佣金计算
- StoreOrderTakeServices 佣金发放后同步冻结积分
- StoreProductServices/StoreProduct 保存 is_queue_goods
Phase2 后端接口:
- GET /api/hjf/brokerage/progress 佣金周期进度
- GET /api/hjf/assets/overview 资产总览
- HjfPointsServices 每日 frozen_points 0.4‰ 释放定时任务
- PUT /adminapi/hjf/member/{uid}/no_assess 不考核接口
- GET /adminapi/hjf/points/release_log 积分日志接口
Phase3 前端清理:
- hjfCustom.js 路由精简(仅保留 points/log)
- hjfQueue.js/hjfMember.js API 清理/重定向至 CRMEB 原生接口
- pages.json 公排→推荐佣金/佣金记录/佣金规则
Phase4-5 前端改造:
- queue/status.vue 推荐佣金进度页整体重写
- 商品详情/订单确认/支付结果页文案与逻辑改造
- 个人中心/资产页/引导页/规则页文案改造
- HjfQueueProgress/HjfRefundNotice/HjfAssetCard 组件改造
- 推广中心嵌入佣金进度摘要
- hjfMockData.js 全量更新(公排字段→佣金字段)
Phase6 Admin 增强:
- 用户列表新增 frozen_points/available_points 列及不考核操作按钮
- hjfPoints.js USE_MOCK=false 对接真实积分日志接口
Phase7 配置文档:
- docs/fsgx-phase7-config-checklist.md 后台配置与全链路验收清单
Made-with: Cursor
6.3 KiB
6.3 KiB
CHANGELOG
5.4
- Add
githubformat & autodetection to render errors as annotations when running the XLIFF linter command in a Github Actions environment. - Translation providers are not experimental anymore
5.3
- Add
translation:pullandtranslation:pushcommands to manage translations with third-party providers - Add
TranslatorBagInterface::getCataloguesmethod - Add support to load XLIFF string in
XliffFileLoader
5.2.0
- added support for calling
transwith ICU formatted messages - added
PseudoLocalizationTranslator - added
TranslatableMessageobjects that represent a message that can be translated - added the
t()function to easily createTranslatableMessageobjects - Added support for extracting messages from
TranslatableMessageobjects
5.1.0
- added support for
nameattribute onunitelement from xliff2 to be used as a translation key instead of always thesourceelement
5.0.0
- removed support for using
nullas the locale inTranslator - removed
TranslatorInterface - removed
MessageSelector - removed
ChoiceMessageFormatterInterface - removed
PluralizationRule - removed
Interval - removed
transChoice()methods, use the trans() method instead with a %count% parameter - removed
FileDumper::setBackup()andTranslationWriter::disableBackup() - removed
MessageFormatter::choiceFormat() - added argument
$filenametoPhpExtractor::parseTokens() - removed support for implicit STDIN usage in the
lint:xliffcommand, uselint:xliff -(append a dash) instead to make it explicit.
4.4.0
- deprecated support for using
nullas the locale inTranslator - deprecated accepting STDIN implicitly when using the
lint:xliffcommand, uselint:xliff -(append a dash) instead to make it explicit. - Marked the
TranslationDataCollectorclass as@final.
4.3.0
- Improved Xliff 1.2 loader to load the original file's metadata
- Added
TranslatorPathsPass
4.2.0
- Started using ICU parent locales as fallback locales.
- allow using the ICU message format using domains with the "+intl-icu" suffix
- deprecated
Translator::transChoice()in favor of usingTranslator::trans()with a%count%parameter - deprecated
TranslatorInterfacein favor ofSymfony\Contracts\Translation\TranslatorInterface - deprecated
MessageSelector,IntervalandPluralizationRules; useIdentityTranslatorinstead - Added
IntlFormatterandIntlFormatterInterface - added support for multiple files and directories in
XliffLintCommand - Marked
Translator::getFallbackLocales()andTranslationDataCollector::getFallbackLocales()as internal
4.1.0
- The
FileDumper::setBackup()method is deprecated. - The
TranslationWriter::disableBackup()method is deprecated. - The
XliffFileDumperwill write "name" on the "unit" node when dumping XLIFF 2.0.
4.0.0
- removed the backup feature of the
FileDumperclass - removed
TranslationWriter::writeTranslations()method - removed support for passing
MessageSelectorinstances to the constructor of theTranslatorclass
3.4.0
- Added
TranslationDumperPass - Added
TranslationExtractorPass - Added
TranslatorPass - Added
TranslationReaderandTranslationReaderInterface - Added
<notes>section to the Xliff 2.0 dumper. - Improved Xliff 2.0 loader to load
<notes>section. - Added
TranslationWriterInterface - Deprecated
TranslationWriter::writeTranslationsin favor ofTranslationWriter::write - added support for adding custom message formatter and decoupling the default one.
- Added
PhpExtractor - Added
PhpStringTokenParser
3.2.0
- Added support for escaping
|in plural translations with double pipe.
3.1.0
- Deprecated the backup feature of the file dumper classes.
3.0.0
- removed
FileDumper::format()method. - Changed the visibility of the locale property in
Translatorfrom protected to private.
2.8.0
- deprecated FileDumper::format(), overwrite FileDumper::formatCatalogue() instead.
- deprecated Translator::getMessages(), rely on TranslatorBagInterface::getCatalogue() instead.
- added
FileDumper::formatCataloguewhich allows format the catalogue without dumping it into file. - added option
json_encodingto JsonFileDumper - added options
as_tree,inlineto YamlFileDumper - added support for XLIFF 2.0.
- added support for XLIFF target and tool attributes.
- added message parameters to DataCollectorTranslator.
- [DEPRECATION] The
DiffOperationclass has been deprecated and will be removed in Symfony 3.0, since its operation has nothing to do with 'diff', so the class name is misleading. TheTargetOperationclass should be used for this use-case instead.
2.7.0
- added DataCollectorTranslator for collecting the translated messages.
2.6.0
- added possibility to cache catalogues
- added TranslatorBagInterface
- added LoggingTranslator
- added Translator::getMessages() for retrieving the message catalogue as an array
2.5.0
- added relative file path template to the file dumpers
- added optional backup to the file dumpers
- changed IcuResFileDumper to extend FileDumper
2.3.0
- added classes to make operations on catalogues (like making a diff or a merge on 2 catalogues)
- added Translator::getFallbackLocales()
- deprecated Translator::setFallbackLocale() in favor of the new Translator::setFallbackLocales() method
2.2.0
- QtTranslationsLoader class renamed to QtFileLoader. QtTranslationsLoader is deprecated and will be removed in 2.3.
- [BC BREAK] uniformized the exception thrown by the load() method when an error occurs. The load() method now throws Symfony\Component\Translation\Exception\NotFoundResourceException when a resource cannot be found and Symfony\Component\Translation\Exception\InvalidResourceException when a resource is invalid.
- changed the exception class thrown by some load() methods from \RuntimeException to \InvalidArgumentException (IcuDatFileLoader, IcuResFileLoader and QtFileLoader)
2.1.0
- added support for more than one fallback locale
- added support for extracting translation messages from templates (Twig and PHP)
- added dumpers for translation catalogs
- added support for QT, gettext, and ResourceBundles