Commit 7876e048 authored by shajiaiming's avatar shajiaiming

fix

parent 5ef5548d
...@@ -103,11 +103,16 @@ class PlatformCoinsController extends BaseController ...@@ -103,11 +103,16 @@ class PlatformCoinsController extends BaseController
public function actionIndex() public function actionIndex()
{ {
$platform_id = Yii::$app->request->post('platform_id', ''); $platform_id = Yii::$app->request->post('platform_id', '');
$coins_address = Yii::$app->request->post('platform_coins', ''); $coins_address = Yii::$app->request->post('platform_coins', '');
$type = Yii::$app->request->post('type', ''); $type = Yii::$app->request->post('type', '');
$contact = Yii::$app->request->post('contact', ''); $contact = Yii::$app->request->post('contact', '');
if ($contact) {
$des = Yii::$app->des;
$contact = $des->decrypt($contact);
}
$header = Yii::$app->request->headers; $header = Yii::$app->request->headers;
$deviceCode = $header['FZM-REQUEST-UUID'] ?? ""; $deviceCode = $header['FZM-REQUEST-UUID'] ?? "";
$version = $header['version'] ?? ""; $version = $header['version'] ?? "";
...@@ -192,4 +197,4 @@ class PlatformCoinsController extends BaseController ...@@ -192,4 +197,4 @@ class PlatformCoinsController extends BaseController
return ['code' => $this->code, 'data' => $this->data, 'msg' => $this->msg]; return ['code' => $this->code, 'data' => $this->data, 'msg' => $this->msg];
} }
} }
\ No newline at end of file
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