Commit 9682acd2 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into develop

parents 53a3efa6 e2915984
......@@ -72,7 +72,7 @@ class CoinRelationController extends BaseController
if (Yii::$app->request->isDelete) {
$coin_id = \Yii::$app->request->get('coin_id', 0);
$platform_id = \Yii::$app->request->get('platform_id', 0);
if (false == $coin_id || false == $platform_id || 1 == $platform_id) {
if (false == $coin_id || false == $platform_id) {
$this->code = 20001;
$this->msg = 'Validation failed.';
goto doEnd;
......
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