Commit 8ffb3f27 authored by shajiaiming's avatar shajiaiming

fix

parent 6012c49e
...@@ -83,11 +83,6 @@ class CoinIssueCoin extends CommonActiveRecord ...@@ -83,11 +83,6 @@ class CoinIssueCoin extends CommonActiveRecord
public function verfiySymbol($attribute, $params) public function verfiySymbol($attribute, $params)
{ {
if (preg_match('/^[A-Z]+$/', $this->symbol)) {
$this->addError($attribute, '名称必须大写');
return false;
}
if (CoinIssueCoin::TYPE_YES == $this->type) { if (CoinIssueCoin::TYPE_YES == $this->type) {
return true; return true;
} }
......
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