コード例 #1
0
 /**
 +----------------------------------------------------------
 * 默认操作
 +----------------------------------------------------------
 */
 public function index()
 {
     //require C('APP_ROOT')."Lib/Util/sms/SmsWSInvoke.class.php";
     //$smsutil = new SmsWSInvoke();
     require C('APP_ROOT') . "Lib/Util/sms/SmsUrlInvoke.class.php";
     $smsutil = new SmsUrlInvoke();
     //if($d<0) $d="用户名或密码错误";
     //else $d = "¥".$d;
     $msgconfig = FS("Webconfig/msgconfig");
     $this->assign('d', $smsutil->getFee());
     $this->assign('stmp_config', $msgconfig['stmp']);
     $this->assign('sms_config', $msgconfig['sms']);
     $this->display();
 }