Compare commits

..

1 Commits

Author SHA1 Message Date
zhuotianyuan b8f951b3d4 fix: 修复订单同步时未限制时间范围的问题 2025-12-22 11:17:29 +08:00
1 changed files with 11 additions and 12 deletions

View File

@ -3,25 +3,24 @@ export default {
koa: { koa: {
port: 7001, port: 7001,
}, },
typeorm: {
dataSource: {
default: {
host: '13.212.62.127',
username: 'root',
password: 'Yoone!@.2025',
},
},
},
// typeorm: { // typeorm: {
// dataSource: { // dataSource: {
// default: { // default: {
// host: 'localhost', // host: '13.212.62.127',
// port: 33306,
// username: 'root', // username: 'root',
// password: 'root', // password: 'Yoone!@.2025',
// }, // },
// }, // },
// }, // },
typeorm: {
dataSource: {
default: {
host: 'localhost',
username: 'root',
password: '12345678',
},
},
},
cors: { cors: {
origin: '*', // 允许所有来源跨域请求 origin: '*', // 允许所有来源跨域请求
allowMethods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], // 允许的 HTTP 方法 allowMethods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], // 允许的 HTTP 方法