1
This commit is contained in:
parent
8b7c653b3c
commit
d12a3664fb
@ -777,11 +777,17 @@ class GunController extends BaseAuthedController {
|
|||||||
$gunDto = Gun::toDto($gun);
|
$gunDto = Gun::toDto($gun);
|
||||||
$costGunDto = Gun::toDto($costGun);
|
$costGunDto = Gun::toDto($costGun);
|
||||||
}
|
}
|
||||||
|
$tranDb= Transaction::find($value['trans_id']);
|
||||||
|
if (!$tranDb){
|
||||||
|
myself()->_rspErr(1, 'ERROR param '. $value['trans_id']);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$info = array(
|
$info = array(
|
||||||
'trans_id'=>$value['trans_id'],
|
'trans_id'=>$value['trans_id'],
|
||||||
'state'=>$value['state'],
|
'state'=>$value['state'],
|
||||||
'gunInfo'=>$gunDto,
|
'gunInfo'=>$gunDto,
|
||||||
'costGunInfo'=>$costGunDto,
|
'costGunInfo'=>$costGunDto,
|
||||||
|
'result'=>$tranDb['result']
|
||||||
);
|
);
|
||||||
array_push($infos,$info);
|
array_push($infos,$info);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user