fix: AI客服+合同审查回复格式化;review.js修复;积分充值流程完善

This commit is contained in:
2026-10-12 17:13:32 +08:00
parent edd53d5d2b
commit 904fd1f8f1
1732 changed files with 340840 additions and 1210 deletions
@@ -0,0 +1,10 @@
import { PluginFunc } from 'dayjs/esm'
declare const plugin: PluginFunc
export = plugin
declare module 'dayjs/esm' {
interface Dayjs {
weekYear(): number
}
}
@@ -0,0 +1,19 @@
export default (function (o, c) {
var proto = c.prototype;
proto.weekYear = function () {
var month = this.month();
var weekOfYear = this.week();
var year = this.year();
if (weekOfYear === 1 && month === 11) {
return year + 1;
}
if (month === 0 && weekOfYear >= 52) {
return year - 1;
}
return year;
};
});