| 123456789101112131415161718192021222324252627282930 |
- <?php
- /**
- * 重庆赤晓店信息科技有限公司
- * https://www.chixiaodian.com
- * Copyright (c) 2023 赤店商城 All rights reserved.
- */
- namespace app\modules\alliance\controllers\alipay;
- use app\modules\alliance\models\alipay\AuthForm;
- use yii\base\BaseObject;
- class PassportController extends BaseController
- {
- public function actionAuth()
- {
- $from = new AuthForm();
- $from->attributes = post_params();
- $from->socialite = $this->socialite;
- $from->store_id = get_store_id();
- return $this->asJson($from->codeAnalysis());
- }
- public function actionPhone() {
- $from = new AuthForm();
- $from->attributes = post_params();
- $from->socialite = $this->socialite;
- $from->store_id = get_store_id();
- return $this->asJson($from->analysisPhone());
- }
- }
|