Commit 07130aff authored by shajiaiming's avatar shajiaiming

fix

parent a16e6af6
...@@ -48,8 +48,8 @@ class CoinPlatformWithHold extends BaseActiveRecord ...@@ -48,8 +48,8 @@ class CoinPlatformWithHold extends BaseActiveRecord
return [ return [
[['platform', 'address', 'private_key', 'exer', 'brower_url', 'token', 'host', 'wallet_address', 'status', 'port', 'fee', 'origin'], 'required'], [['platform', 'address', 'private_key', 'exer', 'brower_url', 'token', 'host', 'wallet_address', 'status', 'port', 'fee', 'origin'], 'required'],
[['platform', 'address', 'private_key', 'exer', 'brower_url', 'token', 'host', 'wallet_address', 'hash'], 'string'], [['platform', 'address', 'private_key', 'exer', 'brower_url', 'token', 'host', 'wallet_address', 'hash'], 'string'],
//['address','unique','message'=>'地址已存在'], ['host','unique','message'=>'该IP已存在'],
['platform','unique','message'=>'平行链已存在'], ['platform','unique','message'=>'平行链已存在'],
[['platform'], 'string', 'length' => [1, 30]], [['platform'], 'string', 'length' => [1, 30]],
[['token'], 'string', 'length' => [1, 10]], [['token'], 'string', 'length' => [1, 10]],
[['port', 'status', 'origin'], 'integer'], [['port', 'status', 'origin'], 'integer'],
......
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