完善保险项目和养殖端小程序

This commit is contained in:
xuqiuyun
2025-09-26 18:45:42 +08:00
parent 00dfa83fd1
commit ec3f472641
58 changed files with 4866 additions and 2233 deletions

View File

@@ -1,4 +1,10 @@
require('dotenv').config({ path: require('path').join(__dirname, '../.env') });
// 设置默认环境变量
if (!process.env.JWT_SECRET) {
process.env.JWT_SECRET = 'insurance_super_secret_jwt_key_2024_very_long_and_secure';
}
const express = require('express');
const cors = require('cors');
const helmet = require('helmet');