Commit 8fb05f68 authored by shajiaiming's avatar shajiaiming

fix

parent f8e5e02a
...@@ -33,7 +33,7 @@ class CrossChainController extends BaseController ...@@ -33,7 +33,7 @@ class CrossChainController extends BaseController
$data['transfer_number'] = date('YmdHis') . self::getrandnums(); $data['transfer_number'] = date('YmdHis') . self::getrandnums();
$isExist = CoinCrossChain::find() $isExist = CoinCrossChain::find()
->where(['address' => $post['address'], 'is_with_draw' => CoinCrossChain::RECHARGE]) ->where(['address' => $post['address'], 'is_with_draw' => $post['isWithdraw']])
->andWhere(['query_result' => '0']) ->andWhere(['query_result' => '0'])
->asArray()->all(); ->asArray()->all();
......
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