// +---------------------------------------------------------------------- namespace app\wap\controller; use think\Request; class Callback extends AuthController { /** * @param $type 1=专题 2=商品 3=报名 4=金币充值 5=会员 6=考试 7=轻专题 8=资料 9=学习计划 * @return mixed */ public function pay_success_synchro($type = 0, $id = 0) { $this->assign(['type' => $type, 'id' => $id]); return $this->fetch(); } }