AdCallbackController.php 682 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. namespace app\modules\common\controllers;
  8. use app\models\WechatConfig;
  9. use app\utils\Wechat\Wechat;
  10. use yii\web\Controller;
  11. class AdCallbackController extends Controller
  12. {
  13. public function actionIndex() {
  14. // $code = get_params('code');
  15. debug_log('广告回调开始', 'ad.log');
  16. debug_log(post_params(), 'ad.log');
  17. debug_log(get_params(), 'ad.log');
  18. debug_log('广告回调结束', 'ad.log');
  19. return '你好!';
  20. return $response->send();
  21. }
  22. }