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 {
isoWeeksInYear(): number
}
}
@@ -0,0 +1,15 @@
export default (function (o, c) {
var proto = c.prototype;
proto.isoWeeksInYear = function () {
var isLeapYear = this.isLeapYear();
var last = this.endOf('y');
var day = last.day();
if (day === 4 || isLeapYear && day === 5) {
return 53;
}
return 52;
};
});