<?php namespace wechat\controllers; use wechat\base\CommonController; class WapController extends CommonController{ public function actionIndex() { header('Location:http://m.pinfangw.com'); exit; } }