Skip to content

Commit

Permalink
V1.8版本
Browse files Browse the repository at this point in the history
  • Loading branch information
szvone committed May 16, 2019
1 parent b675e8b commit 9296e87
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ V免签为完全开源项目,开源项目意味着作者没有任何收入来
## 更新记录
+ v1.8(2019.05.16)
+ 更新监控端APP到1.6版本,理论支持更多手机
+ 尝试修复偶然情况下锁定金额无法被释放的问题

+ v1.7.2(2019.05.12)
+ 修复当通知地址带有GET参数的时候,无法正常通知的问题
Expand Down
14 changes: 14 additions & 0 deletions application/index/controller/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,20 @@ public function closeEndOrder(){
->where("oid",$row['order_id'])
->delete();
}

$rows = Db::name("tmp_price")->select();
foreach ($rows as $row){
$re = Db::name("pay_order")->where("order_id",$row['oid'])->find();
if ($re){

}else{
Db::name("tmp_price")
->where("oid",$row['oid'])
->delete();
}
}


return json($this->getReturn(1,"成功清理".$res."条订单"));
}else{
return json($this->getReturn(1,"没有等待清理的订单"));
Expand Down

0 comments on commit 9296e87

Please sign in to comment.