feat: implement third-party order sync

This commit is contained in:
2026-06-07 02:05:48 +08:00
commit aa593449bb
398 changed files with 51460 additions and 0 deletions
@@ -0,0 +1,7 @@
ALTER TABLE `courses`
ADD COLUMN `content` text NULL AFTER `name`;
UPDATE `courses`
SET `content` = JSON_UNQUOTE(JSON_EXTRACT(`raw_payload`, '$.content'))
WHERE `content` IS NULL
AND JSON_EXTRACT(`raw_payload`, '$.content') IS NOT NULL;