|
@@ -28,6 +28,7 @@ class TakeCashQueryCommand extends Command{
|
|
Db::startTrans();
|
|
Db::startTrans();
|
|
try {
|
|
try {
|
|
list($succ,$data)=$class->checkDetail($cash['order_no'],$cash['detail_no']);
|
|
list($succ,$data)=$class->checkDetail($cash['order_no'],$cash['detail_no']);
|
|
|
|
+ user_log('/tkquery',['cash'=>$cash['id'],'data'=>$data]);
|
|
if(in_array($data['detail_status'],['SUCCESS','PROCESSING'])){
|
|
if(in_array($data['detail_status'],['SUCCESS','PROCESSING'])){
|
|
$cash['check_status']=$data['detail_status']=='SUCCESS'?1:2;
|
|
$cash['check_status']=$data['detail_status']=='SUCCESS'?1:2;
|
|
if($cash['check_status']==2) {
|
|
if($cash['check_status']==2) {
|