Callback.php 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. namespace app\wap\controller;
  12. use think\Request;
  13. class Callback extends AuthController
  14. {
  15. /**
  16. * @param $type 1=专题 2=商品 3=报名 4=金币充值 5=会员 6=考试 7=轻专题 8=资料 9=学习计划
  17. * @return mixed
  18. */
  19. public function pay_success_synchro($type = 0, $id = 0)
  20. {
  21. $this->assign(['type' => $type, 'id' => $id]);
  22. return $this->fetch();
  23. }
  24. }