Commit a52b1fa8 by 蒋勇

d

parent 5446414b
...@@ -94,7 +94,6 @@ class RptAPI extends APIBase{ ...@@ -94,7 +94,6 @@ class RptAPI extends APIBase{
return system.getResult(null); return system.getResult(null);
} }
} }
async resultJson(pobj,query){ async resultJson(pobj,query){
if(pobj){ if(pobj){
var x=await this.rptService.resultJson(pobj.batchid); var x=await this.rptService.resultJson(pobj.batchid);
...@@ -161,4 +160,10 @@ class RptAPI extends APIBase{ ...@@ -161,4 +160,10 @@ class RptAPI extends APIBase{
]; ];
} }
} }
module.exports=RptAPI; module.exports=RptAPI;
\ No newline at end of file // (async ()=>{
// var x=new RptAPI();
// var m=await x.resultJson({batchid:226});
// console.log(JSON.stringify(m));
// })()
\ No newline at end of file
...@@ -223,7 +223,7 @@ class RptTypeService extends ServiceBase{ ...@@ -223,7 +223,7 @@ class RptTypeService extends ServiceBase{
tmp[item.indexName]=Number(item.status); tmp[item.indexName]=Number(item.status);
}else{ }else{
var tmp2={}; var tmp2={};
tmp2[item.indexName]=item.status; tmp2[item.indexName]=escape(item.status);
arrayfi.push(tmp2); arrayfi.push(tmp2);
} }
})); }));
......
...@@ -7,11 +7,11 @@ var settings={ ...@@ -7,11 +7,11 @@ var settings={
}, },
database: { database: {
dbname: "fktaxctl", dbname: "fktaxctl",
user : "write", user : "caishui",
password : "write", password : "jvmfTVDuG5YE(*Z",
config : { config : {
host: '43.247.184.35', host: '47.105.186.2',
port:8899, port:3307,
dialect: 'mysql', dialect: 'mysql',
operatorsAliases: false, operatorsAliases: false,
pool: { pool: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment