Commit bcaeeb80 authored by shajiaiming's avatar shajiaiming

调整数据 格式

parent 1dcd118c
...@@ -31,7 +31,7 @@ class PlatformCoinsController extends BaseController ...@@ -31,7 +31,7 @@ class PlatformCoinsController extends BaseController
$platform_coins_arr = explode(',', $item); $platform_coins_arr = explode(',', $item);
$coin_name = $platform_coins_arr[0]; $coin_name = $platform_coins_arr[0];
$coins_address = $platform_coins_arr[1]; $coins_address = $platform_coins_arr[1];
if(empty($coin_name) || empty($coins_address)) continue;
$isExistModel = CoinPlatformCoins::find()->where(['coins_address' => $coins_address, 'platform_id' => $platform_id])->one(); $isExistModel = CoinPlatformCoins::find()->where(['coins_address' => $coins_address, 'platform_id' => $platform_id])->one();
if($isExistModel) continue; if($isExistModel) continue;
$item_array[] = [ $item_array[] = [
......
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