Commit c814125c authored by shajiaiming's avatar shajiaiming

add version

parent 3c86636c
......@@ -137,6 +137,7 @@ class PlatformCoinsController extends BaseController
if (empty($coin_name) || empty($coins_address)) continue;
$isExistModel = CoinPlatformCoins::find()->where(['coins_name' => $coin_name, 'coins_address' => $coins_address, 'contact' => $contact])->one();
if ($isExistModel) {
$isExistModel->version = $version;
$isExistModel->update_time = date('Y-m-d H:i:s');
$isExistModel->save();
} else {
......
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