TradeRule后台完成

This commit is contained in:
Jerry Yan 2020-05-29 20:59:20 +08:00
parent e8f6b4ba9b
commit 7e88154991

View File

@ -59,8 +59,8 @@ class TradeRule extends Base
} }
}catch(\Exception $e){ }catch(\Exception $e){
Db::rollback();errLog($e); Db::rollback();errLog($e);
return WSTReturn($this->getError(),-1);
} }
return WSTReturn($this->getError(),-1);
} }
/** /**
* 获取指定对象 * 获取指定对象
@ -88,8 +88,8 @@ class TradeRule extends Base
} }
}catch(\Exception $e){ }catch(\Exception $e){
Db::rollback();errLog($e); Db::rollback();errLog($e);
return WSTReturn($this->getError(),-1);
} }
return WSTReturn($this->getError(),-1);
} }
/** /**
@ -109,8 +109,8 @@ class TradeRule extends Base
} }
}catch (\Exception $e) { }catch (\Exception $e) {
Db::rollback();errLog($e); Db::rollback();errLog($e);
return WSTReturn('删除失败',-1);
} }
return WSTReturn('删除失败',-1);
} }
/** /**
@ -130,8 +130,8 @@ class TradeRule extends Base
} }
}catch (\Exception $e) { }catch (\Exception $e) {
Db::rollback();errLog($e); Db::rollback();errLog($e);
return WSTReturn('删除失败',-1);
} }
return WSTReturn('删除失败',-1);
} }