审核规避词+敏感词skill

This commit is contained in:
Yeomai committed 2026-10-01 11:43:07 +08:00
1 parent a9552b3d1a
commit f05a11f0f3
14 files changed
+79 -29

No files matched your search

+2 -2
View File
@@ -195,7 +195,7 @@ const api = {
getArticle: (id) => request({ url: '/v1/articles/' + id, auth: false }),
getTips: () => request({ url: '/v1/tips', auth: false }),
// ── 课程 ────────────────────────────────────────────────────────────
// ── 内容 ────────────────────────────────────────────────────────────
getCourses: () => request({ url: '/v1/courses' }),
getCourse: (code) => request({ url: '/v1/courses/' + code }),
getLessons: (code) => request({ url: '/v1/courses/' + code + '/lessons' }),
@@ -231,7 +231,7 @@ const api = {
* 拉起虚拟支付。
*
* 支付成功只代表「钱付了」,权益由服务端收到发货推送后发放,
* 因此这里不直接开通课程,而是让调用方轮询订单状态。
* 因此这里不直接开通权益,而是让调用方轮询订单状态。
*/
function requestVirtualPayment(payData) {
return new Promise((resolve, reject) => {
+1 -1
View File
@@ -92,7 +92,7 @@ const store = {
return value === undefined ? '' : value;
},
// ── 已购课程 ─────────────────────────────────────────────────────────
// ── 已购内容 ─────────────────────────────────────────────────────────
getEntitlements() {
if (memory.entitlements && memory.entitlements.length) return memory.entitlements;
memory.entitlements = read(config.STORAGE.ENTITLEMENTS, []) || [];