系统、网站、API站点,简单高效开发

/jscode/develop/{PROJECT/}database.json 数据库配置文件

{ "_desc": "数据库类型,支持sqlite/mysql/mssql/oracle", "default_db": "sqlite",// db_list配置的子项属性名称 "db_list": { "com": { "db_type": "mysql", "mysql_loginname": "", "mysql_loginpwd": "", "mysql_server": "", "mysql_port": 3306, "mysql_dbname": "", "sqlite_driverName": "", "sqlite_dataSourceName": "$JSCODEPATH$/database/database.db", "mssql_server": "", "mssql_database": "", "mssql_userid": "", "mssql_password": "", "mssql_port": 3306, "mssql_encrypt": "", "oracle_user": "", "oracle_pwd": "", "oracle_server": "", "oracle_port": 3306, "oracle_database": "" }, "mysql_win": { "db_type": "mysql", "mysql_loginname": "root", "mysql_loginpwd": "root", "mysql_server": "localhost", "mysql_port": 3306, "mysql_dbname": "erp" }, "sqlite": { "db_type": "sqlite", "sqlite_driverName": "sqlite3", "sqlite_dataSourceName": "$JSCODEPATH$/database/database.db" } }, "tablenameprefix": "t", "tablenameprefix_desc": "表名前缀" }

备案号:闽ICP备20003806号     厦门市湖里区陈朝能网络技术工作室