完善保险端前后端和养殖端小程序

This commit is contained in:
xuqiuyun
2025-09-22 19:09:45 +08:00
parent 02a25515a9
commit 325c114c38
256 changed files with 48348 additions and 4444 deletions

View File

@@ -557,9 +557,9 @@ const models = {
OperationLog
};
// 建立关联关系(暂时禁用,避免冲突)
// Object.keys(models).forEach(modelName => {
// if (models[modelName].associate) {
// models[modelName].associate(models);
// }
// });
// 建立关联关系
Object.keys(models).forEach(modelName => {
if (models[modelName].associate) {
models[modelName].associate(models);
}
});