Commit 418c9007 authored by shajiaming's avatar shajiaming

fix

parent 396683b2
......@@ -59,7 +59,7 @@ class IssueCoinController extends BaseController
'nickname' => isset($result['nickname']) ? $result['nickname'] : ''
];
$model = new CoinIssueCoin();
if (35 == $platform_id) {
if (!in_array($params['token_type'], [0, 1, 2])) {
$params['template'] = isset($result['template']) ? $result['template'] : [];
$model->setScenario(CoinIssueCoin::SCENARIOS_VERIFY_MALL);
} else {
......@@ -141,7 +141,7 @@ class IssueCoinController extends BaseController
];
$model = new CoinIssueCoin();
if (35 == $platform_id) {
if (!in_array($params['token_type'], [0, 1, 2])) {
$model->setScenario(CoinIssueCoin::SCENARIOS_CREATE_MALL);
} else {
$model->setScenario(CoinIssueCoin::SCENARIOS_CREATE);
......
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