isAjax()) { $access_key_id = input("access_key_id", "");//access_key_id $access_key_secret = input("access_key_secret", "");//access_key_secret $smssign = input("smssign", '');//短信签名 $status = input("status", 0);//启用状态 $data = array( "status" => $status, "access_key_id" => $access_key_id, "access_key_secret" => $access_key_secret, "smssign" => $smssign ); $result = $config_model->setSmsConfig($data); return $result; } else { $info_result = $config_model->getSmsConfig(); $info = $info_result["data"]; $this->assign("info", $info); return $this->fetch("sms/config"); } } }