Commit 97970c58 by 孙亚楠

dd

parent 34f2ae67
...@@ -279,9 +279,9 @@ class LaoActionApi extends APIBase { ...@@ -279,9 +279,9 @@ class LaoActionApi extends APIBase {
} else { } else {
parm.current_page = 1; parm.current_page = 1;
} }
if(obj.curStatus){ // if(obj.curStatus){
parm.curStatus=this.trim(obj.curStatus); // parm.curStatus=this.trim(obj.curStatus);
} // }
if(obj.curType){ if(obj.curType){
parm.curStatus=this.trim(obj.curType); parm.curStatus=this.trim(obj.curType);
} }
......
...@@ -73,7 +73,7 @@ class RecruitService extends ServiceBase { ...@@ -73,7 +73,7 @@ class RecruitService extends ServiceBase {
} }
var user_id = obj.user_id; var user_id = obj.user_id;
var curStatus = obj.curStatus;//当前的状态 // var curStatus = obj.curStatus;//当前的状态
var curType = obj.curType;//当前的状态 var curType = obj.curType;//当前的状态
let where={}; let where={};
...@@ -83,9 +83,9 @@ class RecruitService extends ServiceBase { ...@@ -83,9 +83,9 @@ class RecruitService extends ServiceBase {
if(curType){ if(curType){
where.cur_type=curType; where.cur_type=curType;
} }
if(curStatus){ // if(curStatus){
where.cur_status=curStatus; // where.cur_status=curStatus;
} // }
var pageSize=obj.page_size || 10; var pageSize=obj.page_size || 10;
var currentPage=obj.current_page || 1; var currentPage=obj.current_page || 1;
try { try {
......
...@@ -7,15 +7,18 @@ var settings={ ...@@ -7,15 +7,18 @@ var settings={
}, },
database:{ database:{
dbname : "laowubao", dbname : "laowubao",
user : "write", user : "root",
password : "write", password : "root",
// dbname : "laowubao",
// user: "write",
// password: "write",
config : { config : {
host: '192.168.18.237', host: '192.168.18.110',
// dbname : "laowubao", // dbname : "laowubao",
// user: "write", // user: "write",
// password: "write", // password: "write",
// config: { // config: {
// host: '43.247.184.35', // host: '43.247.184.35',
port: 3306, port: 3306,
dialect: 'mysql', dialect: 'mysql',
operatorsAliases: false, operatorsAliases: false,
......
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