AggregateQrcodeController.php 840 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. namespace app\modules\client\controllers\v1;
  8. use app\modules\client\controllers\BaseController;
  9. use app\modules\client\models\v1\AggregateQrcodeForm;
  10. class AggregateQrcodeController extends BaseController
  11. {
  12. //获取支付宝配置信息
  13. public function actionAliConfig(){
  14. $form = new AggregateQrcodeForm();
  15. $form->id = post_params('id');
  16. $res = $form->AliConfig();
  17. return $this->asJson($res);
  18. }
  19. //获取微信配置信息
  20. public function actionWxConfig(){
  21. $form = new AggregateQrcodeForm();
  22. $form->id = post_params('id');
  23. $res = $form->wxConfig();
  24. return $this->asJson($res);
  25. }
  26. }