审核规避词+敏感词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

+3 -3
View File
@@ -24,7 +24,7 @@ Page({
onShow() {
if (store.isLoggedIn()) this.refresh();
// 未登录(含刚退出登录)不能留着一份别人的课程列表
// 未登录(含刚退出登录)不能留着一份别人的已购列表
else this.setData({ ownedCourses: [], hasCourse: false });
},
@@ -39,7 +39,7 @@ Page({
})
.catch((err) => {
if (err && err.code === api.ACCOUNT_DISABLED) {
// 服务端不返回权益了,本地缓存也一并清掉,免得露出上一次的课程
// 服务端不返回权益了,本地缓存也一并清掉,免得露出上一次的已购内容
store.setEntitlements([]);
this.setData({
ownedCourses: [],
@@ -50,7 +50,7 @@ Page({
});
return;
}
console.warn('[kecheng] 已购课程加载失败', err);
console.warn('[kecheng] 已购内容加载失败', err);
});
},