public function index()
 {
     include_once ADDONS_PATH . 'payment/alipay_wap.php';
     $payobj = new alipay_wap();
     $ret = @$payobj->callback();
     if ($ret == 0) {
         $msg = L('pay_success');
     }
     if ($ret == 1) {
         $msg = L('pay_fail');
     }
     //显示页面
     $this->assign('message', $msg);
     $this->assign('shop_url', __URL__);
     $this->display('respond.dwt');
 }
 public function index()
 {
     include_once ADDONS_PATH . 'payment/alipay_wap.php';
     $payobj = new alipay_wap();
     $ret = @$payobj->notify();
 }