Commit aa154486 authored by shajiaiming's avatar shajiaiming

fix

parent ef8eea58
......@@ -37,6 +37,9 @@ class PlatformCoinsController extends BaseController
$platform_id,
] ;
}
if(empty($item_array)){
return ['code' => -1,'data' => [], 'msg' => '数据重复插入'];
}
$result = CoinPlatformCoins::batchImport($item_array);
if(!$result){
......
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