Commit a52b1fa8 by 蒋勇

d

parent 5446414b
......@@ -94,7 +94,6 @@ class RptAPI extends APIBase{
return system.getResult(null);
}
}
async resultJson(pobj,query){
if(pobj){
var x=await this.rptService.resultJson(pobj.batchid);
......@@ -161,4 +160,10 @@ class RptAPI extends APIBase{
];
}
}
module.exports=RptAPI;
\ No newline at end of file
module.exports=RptAPI;
// (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{
tmp[item.indexName]=Number(item.status);
}else{
var tmp2={};
tmp2[item.indexName]=item.status;
tmp2[item.indexName]=escape(item.status);
arrayfi.push(tmp2);
}
}));
......
......@@ -7,11 +7,11 @@ var settings={
},
database: {
dbname: "fktaxctl",
user : "write",
password : "write",
user : "caishui",
password : "jvmfTVDuG5YE(*Z",
config : {
host: '43.247.184.35',
port:8899,
host: '47.105.186.2',
port:3307,
dialect: 'mysql',
operatorsAliases: false,
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