Commit 73cac85a authored by shajiaiming's avatar shajiaiming

fix

parent 221a8716
...@@ -50,7 +50,7 @@ class CoinIssueCoin extends CommonActiveRecord ...@@ -50,7 +50,7 @@ class CoinIssueCoin extends CommonActiveRecord
return [ return [
[['name', 'symbol', 'total', 'owner', 'introduction', 'category', 'type', 'platform_id', 'chain_id', 'charge_unit', 'charge', 'template'], 'required'], [['name', 'symbol', 'total', 'owner', 'introduction', 'category', 'type', 'platform_id', 'chain_id', 'charge_unit', 'charge', 'template'], 'required'],
[['total', 'category', 'type', 'platform_id', 'chain_id'], 'integer'], [['total', 'category', 'type', 'platform_id', 'chain_id'], 'integer'],
[['introduction', 'charge_unit'], 'string', 'length' => [1, 20]], [['introduction', 'charge_unit'], 'string', 'length' => [1, 100]],
['symbol', 'string', 'length' => [6, 128]], ['symbol', 'string', 'length' => [6, 128]],
['name', 'string', 'length' => [3, 50]], ['name', 'string', 'length' => [3, 50]],
['nickname', 'string', 'length' => [0, 10]], ['nickname', 'string', 'length' => [0, 10]],
......
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