<?php

$origin = request()->header("origin");
think\facade\Route::pattern(["name" => "\\w+", "id" => "\\d+", "page" => "\\d+", "size" => "\\d+|max:50", "limit" => "\\d+|max:50", "tel" => "\\d+", "phone" => "\\d+", "email" => "[a-zA-Z0-9@.]"]);
think\facade\Route::get("logout", "home/viewClients/logout");
think\facade\Route::post("logout", "home/viewClients/logout");
think\facade\Route::group("", function () {
    think\facade\Route::get("page", "home/viewClients/page");
    think\facade\Route::get("login", "home/viewClients/login");
    think\facade\Route::post("login", "home/viewClients/login");
    think\facade\Route::get("register", "home/viewClients/register");
    think\facade\Route::post("register", "home/viewClients/register");
    think\facade\Route::get("pwreset", "home/viewClients/pwreset");
    think\facade\Route::post("pwreset", "home/viewClients/pwreset");
    think\facade\Route::get("bind", "home/viewClients/bind");
    think\facade\Route::post("bind", "home/viewClients/bind");
    think\facade\Route::get("details", "home/viewClients/details");
    think\facade\Route::post("details", "home/viewClients/details");
    think\facade\Route::get("security", "home/viewClients/security");
    think\facade\Route::get("verified", "home/viewClients/verified");
    think\facade\Route::post("verified", "home/viewClients/verified");
    think\facade\Route::get("message", "home/viewClients/message");
    think\facade\Route::get("systemlog", "home/viewClients/systemlog");
    think\facade\Route::get("loginlog", "home/viewClients/loginlog");
    think\facade\Route::get("apilog", "home/viewClients/apilog");
    think\facade\Route::get("billing", "home/viewClients/billing");
    think\facade\Route::any("combinebilling", "home/viewClients/combinebilling");
    think\facade\Route::get("viewbilling", "home/viewClients/ViewBilling");
    think\facade\Route::get("transaction", "home/viewClients/transaction");
    think\facade\Route::get("invoicelist", "home/viewClients/invoicelist");
    think\facade\Route::post("invoicelist", "home/viewClients/invoicelist");
    think\facade\Route::get("invoicecompany", "home/viewClients/invoicecompany");
    think\facade\Route::post("invoicecompany", "home/viewClients/invoicecompany");
    think\facade\Route::get("invoiceaddress", "home/viewClients/invoiceaddress");
    think\facade\Route::post("invoiceaddress", "home/viewClients/invoiceaddress");
    think\facade\Route::get("addfunds", "home/viewClients/addfunds");
    think\facade\Route::get("supporttickets", "home/viewClients/supporttickets");
    think\facade\Route::get("submitticket", "home/viewClients/submitticket");
    think\facade\Route::get("viewticket", "home/viewClients/viewticket");
    think\facade\Route::post("viewticket", "home/viewClients/viewticket");
    think\facade\Route::post("submitticket", "home/viewClients/submitticket");
    think\facade\Route::get("affiliates", "home/viewClients/affiliates");
    think\facade\Route::get("apps", "home/viewClients/apps");
    think\facade\Route::post("apps", "home/viewClients/apps");
    think\facade\Route::get("appincome", "home/viewClients/appincome");
    think\facade\Route::get("apptransaction", "home/viewClients/apptransaction");
    think\facade\Route::get("applog", "home/viewClients/applog");
    think\facade\Route::get("clientarea", "home/viewClients/clientarea");
    think\facade\Route::get("service", "home/viewClients/service");
    think\facade\Route::get("servicedetail", "home/viewClients/servicedetail");
    think\facade\Route::post("servicedetail", "home/viewClients/servicedetail");
    think\facade\Route::any("mulitrenew", "home/viewClients/mulitrenew");
    think\facade\Route::post("pay", "home/viewClients/pay");
    think\facade\Route::get("verify", "home/viewClients/verify");
    think\facade\Route::get("news", "home/viewClients/news");
    think\facade\Route::get("newslist", "home/viewClients/newsList");
    think\facade\Route::get("newsview", "home/viewClients/newsview");
    think\facade\Route::get("knowledgebase", "home/viewClients/knowledgebase");
    think\facade\Route::get("knowledgebase/:alias", "home/viewClients/knowledgebase");
    think\facade\Route::get("knowledgebaselist", "home/viewClients/knowledgebaselist");
    think\facade\Route::get("knowledgebaseview", "home/viewClients/knowledgebaseview");
    think\facade\Route::get("downloads", "home/viewClients/downloads");
    think\facade\Route::get("creditlimit", "home/viewClients/creditlimit");
    think\facade\Route::get("apimanage", "home/viewClients/apimanage");
    think\facade\Route::get("contracthost", "home/viewClients/contractHost");
    think\facade\Route::get("contract", "home/viewClients/contract");
    think\facade\Route::get("authorDown", "home/viewClients/authorDown");
    think\facade\Route::get("cart", "home/viewCart/cart");
    think\facade\Route::post("cart", "home/viewCart/cart");
    think\facade\Route::any("store/:alias", "home/viewCart/cart");
    think\facade\Route::any("buy/:alias", "home/viewCart/cart");
    think\facade\Route::get("credit", "home/viewClients/credit");
    think\facade\Route::get("creditdetail", "home/viewClients/creditdetail");
    think\facade\Route::get("getLinkAgeList", "home/viewCart/getLinkAgeList");
    think\facade\Route::get("link_list", "home/cart/getLinkAgeListJson");
})->header("Access-Control-Allow-Origin", $origin)->middleware("UserCheck")->allowCrossDomain();
think\facade\Route::get("", "home/view/index");
think\facade\Route::get("[:html]", "home/view/index")->ext("html");
think\facade\Route::get("[:html]/[:html2]", "home/view/index")->ext("html");
think\facade\Route::get("[:html]/[:html2]/[:html3]", "home/view/index")->ext("html");
think\facade\Route::get("demo/[:pid]/", "home/demo/demo/")->header("Access-Control-Allow-Origin", $origin)->allowCrossDomain();
think\facade\Route::get("del_cwxt_home_login", "home/index/del_cwxt_home_login");
think\facade\Route::group("", function () {
    think\facade\Route::get("index", "home/index/index");
    think\facade\Route::get("user_info", "home/user/index");
    think\facade\Route::put("user_info", "home/user/update");
    think\facade\Route::post("toggle_second_verify", "home/user/toggleSecondVerify");
    think\facade\Route::get("second_verify_page", "home/user/getSecondVerifyPage");
    think\facade\Route::post("second_verify_send", "home/user/secondVerifySend");
    think\facade\Route::get("get_api_pwd", "home/user/getApiPwd");
    think\facade\Route::post("modify_api_pwd", "home/user/modifyApiPwd");
    think\facade\Route::get("auto_api_pwd", "home/user/autoApiPwd");
    think\facade\Route::get("get_areas", "home/user/getAreas");
    think\facade\Route::post("modify_password", "home/user/modifyPassword");
    think\facade\Route::get("user_action_log/[:page]/", "home/user/user_action_log");
    think\facade\Route::get("logOut", "home/user/logOut");
    think\facade\Route::get("sys_messgage", "home/system_message/getMessageList");
    think\facade\Route::get("sys_messgage_unread", "home/system_message/getUnreadList");
    think\facade\Route::get("read_messgage", "home/system_message/readSystemMessage");
    think\facade\Route::get("delete_messgage", "home/system_message/deleteSystemMessage");
    think\facade\Route::get("check_origin_phone", "home/user/checkOriginPhone");
    think\facade\Route::post("bind_phone", "home/user/bind_phone_send");
    think\facade\Route::post("bind_phone_handle", "home/user/bind_phone_handle");
    think\facade\Route::get("bind_phone_code", "home/user/bind_phone_code");
    think\facade\Route::post("bind_phone_change", "home/user/bind_phone_change");
    think\facade\Route::post("login_sms_reminder", "home/user/loginSmsReminder");
    think\facade\Route::post("login_email_reminder", "home/user/loginEmailReminder");
    think\facade\Route::get("remind_send", "home/user/remindSend");
    think\facade\Route::get("remind_email_send", "home/user/remindEmailSend");
    think\facade\Route::get("bind_wechat", "home/user/bind_wechat");
    think\facade\Route::get("bind_wechat_handle/:id/", "home/user/bind_wechat_handle");
    think\facade\Route::post("bind_email", "home/user/bind_email");
    think\facade\Route::post("bind_email_handle", "home/user/bind_email_handle");
    think\facade\Route::post("change_email", "home/user/change_email");
    think\facade\Route::post("change_email_handle", "home/user/change_email_handle");
    think\facade\Route::get("affpage", "home/user_affiliate/affpage");
    think\facade\Route::get("activation", "home/user_affiliate/activation");
    think\facade\Route::get("affindex", "home/user_affiliate/affindex");
    think\facade\Route::get("useraffi_list", "home/user_affiliate/useraffilist");
    think\facade\Route::POST("withdraw", "home/user_affiliate/withdraw");
    think\facade\Route::any("withdrawrecord", "home/user_affiliate/withdrawrecord");
    think\facade\Route::any("affbuyrecord", "home/user_affiliate/affbuyrecord");
    think\facade\Route::get("certifi", "home/certification/Certifi");
    think\facade\Route::post("person_certifi_post", "home/certification/personCertifiPost");
    think\facade\Route::post("person_query_post", "home/certification/personQueryPost");
    think\facade\Route::post("company_certifi_post", "home/certification/companyCertifiPost");
    think\facade\Route::post("company_query_post", "home/certification/companyQueryPost");
    think\facade\Route::post("person_to_company", "home/certification/personToCompany");
    think\facade\Route::get("certifi_ping", "home/certification/ping");
    think\facade\Route::get("contract/host", "home/contract/host");
    think\facade\Route::post("contract/base_info", "home/contract/contractBaseInfo");
    think\facade\Route::post("contract/contract", "home/contract/contractCreate");
    think\facade\Route::get("contract/contract_page", "home/contract/contract");
    think\facade\Route::post("contract/contract_sign", "home/contract/contractSign");
    think\facade\Route::post("contract/contract/:id", "home/contract/contractPost");
    think\facade\Route::get("contract/contract", "home/contract/contractList");
    think\facade\Route::get("contract/download/:id", "home/contract/download");
    think\facade\Route::get("contract/post/:id", "home/contract/postPage");
    think\facade\Route::post("contract/post/:id", "home/contract/postPost");
    think\facade\Route::get("contract/post_cancel/:id", "home/contract/postCancel");
    think\facade\Route::get("contract/cancel/:id", "home/contract/cancel");
    think\facade\Route::delete("contract/delete/:id", "home/contract/delete");
    think\facade\Route::get("contract/mail/:id", "home/contract/mail");
    think\facade\Route::post("orders", "home/order/orders");
    think\facade\Route::post("check_order", "home/order/checkOrder");
    think\facade\Route::post("queryMerchantOrder", "plugin/wx_pay/index/queryMerchantOrder");
    think\facade\Route::get("get_gateways/[:module]/", "home/pay/getGatewayList");
    think\facade\Route::get("recharge_page", "home/pay/rechargePage");
    think\facade\Route::post("recharge", "home/pay/recharge");
    think\facade\Route::get("order_list", "home/pay/orderList");
    think\facade\Route::post("start_pay", "home/pay/startPay");
    think\facade\Route::get("use_credit_page", "home/pay/useCreditPage");
    think\facade\Route::post("invoice_page", "home/pay/invoicePage");
    think\facade\Route::post("apply_credit", "home/pay/applyCredit");
    think\facade\Route::post("apply_credit_limit", "home/pay/applyCreditLimit");
    think\facade\Route::post("ticket/evaluate", "home/ticket/evaluate");
    think\facade\Route::get("ticket/list", "home/ticket/getList");
    think\facade\Route::post("cart/settle", "home/cart/settle");
    think\facade\Route::get("cartgateway", "home/Cart/getGateway");
    think\facade\Route::resource("invoices", "home/user_invoice");
    think\facade\Route::delete("invoices/:id", "home/user_invoice/deleteOrder");
    think\facade\Route::get("get_invoices", "home/user_invoice/getInvoices");
    think\facade\Route::get("get_invoices_detail", "home/user_invoice/getInvoicesDetail");
    think\facade\Route::get("finance_record", "home/user_invoice/financeRecord");
    think\facade\Route::get("accounts_record", "home/user_invoice/accountsRecord");
    think\facade\Route::get("credit_record", "home/user_invoice/creditRecord");
    think\facade\Route::get("consume_record", "home/user_invoice/consumeRecord");
    think\facade\Route::get("recharge_record", "home/user_invoice/rechargeRecord");
    think\facade\Route::get("refund_record", "home/user_invoice/refundRecord");
    think\facade\Route::get("withdraw_record", "home/user_invoice/withdrawRecord");
    think\facade\Route::get("get_combine_invoices", "home/user_invoice/getCombineInvoices");
    think\facade\Route::post("combine_invoices", "home/user_invoice/combineInvoices");
    think\facade\Route::controller("host", "home/Host");
    think\facade\Route::get("getHostStatus", "home/Host/getHostStatus");
    think\facade\Route::get("credit_limit", "home/credit_limit/index");
    think\facade\Route::get("credit_limit/list", "home/credit_limit/list");
    think\facade\Route::get("credit_limit/user_invoice", "home/credit_limit/userInvoice");
    think\facade\Route::get("credit_limit/user_invoice_detail", "home/credit_limit/creditLimitInvoice");
    think\facade\Route::get("credit_limit/user_invoice_detail", "home/credit_limit/creditLimitInvoice");
    think\facade\Route::post("credit_limit/prepayment", "home/credit_limit/creditLimitPrepayment");
    think\facade\Route::get("contacts/index", "home/contacts/index");
    think\facade\Route::post("contacts/save", "home/contacts/save");
    think\facade\Route::delete("contacts/del", "home/contacts/delete");
    think\facade\Route::get("user_logs", "home/record_log/getUserLogs");
    think\facade\Route::Any("user_logdcims", "home/record_log/getUserLogDcs");
    think\facade\Route::get("ticket/department", "home/ticket/getDepartmentList");
    think\facade\Route::get("ticket/get_custom", "home/ticket/getTicketCustom");
    think\facade\Route::get("ticket/ticket_page", "home/ticket/getOpenTicketPage");
    think\facade\Route::post("ticket/create", "home/ticket/createTicket");
    think\facade\Route::get("ticket/detail", "home/ticket/ticketDetail");
    think\facade\Route::post("ticket/reply", "home/ticket/replyTicket");
    think\facade\Route::post("ticket/close", "home/ticket/closeTicket");
    think\facade\Route::post("ticket/download", "home/ticket/downloadAttachment");
    think\facade\Route::get("/upgrade/index/:hid", "home/upgrade/index");
    think\facade\Route::post("/upgrade/upgrade_config_post", "home/upgrade/upgradeConfigPost");
    think\facade\Route::get("/upgrade/upgrade_config_page", "home/upgrade/getUpgradeConfigPage");
    think\facade\Route::post("/upgrade/add_promo_code", "home/upgrade/addPromoCodeToConfig");
    think\facade\Route::post("/upgrade/remove_promo_code", "home/upgrade/removePromoCodeFromConfig");
    think\facade\Route::post("/upgrade/checkout_config_upgrade", "home/upgrade/checkoutConfigUpgrade");
    think\facade\Route::get("/upgrade/upgrade_product/:hid", "home/upgrade/upgradeProduct");
    think\facade\Route::post("/upgrade/upgrade_product_post", "home/upgrade/upgradeProductPost");
    think\facade\Route::get("/upgrade/upgrade_product_page", "home/upgrade/getUpgradeProductPage");
    think\facade\Route::post("/upgrade/add_promo_code_product", "home/upgrade/addPromoToProduct");
    think\facade\Route::post("/upgrade/remove_promo_code_product", "home/upgrade/RemovePromoFromProduct");
    think\facade\Route::post("/upgrade/checkout_upgrade_product", "home/upgrade/checkoutProductUpgrade");
    think\facade\Route::post("dcim/buy_flow_packet", "home/dcim/buyFlowPacket");
    think\facade\Route::post("dcim/check_reinstall", "home/dcim/checkReinstall");
    think\facade\Route::post("dcim/buy_reinstall_times", "home/dcim/buyReinstallTimes");
    think\facade\Route::post("dcim/on", "home/dcim/on");
    think\facade\Route::post("dcim/off", "home/dcim/off");
    think\facade\Route::post("dcim/reboot", "home/dcim/reboot");
    think\facade\Route::post("dcim/bmc", "home/dcim/bmc");
    think\facade\Route::post("dcim/kvm", "home/dcim/kvm");
    think\facade\Route::post("dcim/ikvm", "home/dcim/ikvm");
    think\facade\Route::post("dcim/reinstall", "home/dcim/reinstall");
    think\facade\Route::get("dcim/resintall_status", "home/dcim/getReinstallStatus");
    think\facade\Route::post("dcim/rescue", "home/dcim/rescue");
    think\facade\Route::post("dcim/crack_pass", "home/dcim/crackPass");
    think\facade\Route::get("dcim/traffic_usage", "home/dcim/getTrafficUsage");
    think\facade\Route::post("dcim/cancel_task", "home/dcim/cancelReinstall");
    think\facade\Route::post("dcim/unsuspend_reinstall", "home/dcim/unsuspendReload");
    think\facade\Route::post("dcim/refresh_all_power_status", "home/dcim/refreshPowerStatus");
    think\facade\Route::post("dcim/traffic", "home/dcim/traffic");
    think\facade\Route::post("dcim/novnc", "home/dcim/novnc");
    think\facade\Route::post("dcim/check_all_status", "home/dcim/checkAllReinstallStatus");
    think\facade\Route::get("dcim/detail", "home/dcim/detail");
    think\facade\Route::post("dcim/hide_result", "home/dcim/hideLastResult");
    think\facade\Route::post("dcim/refresh_power_status", "home/dcim/refreshServerPowerStatus");
    think\facade\Route::post("provision/default", "home/provision/execute");
    think\facade\Route::post("provision/custom/:id", "home/provision/customFunc");
    think\facade\Route::get("provision/chart/:id", "home/provision/getChartData");
    think\facade\Route::post("/provision/button", "home/provision/execCustomButton");
    think\facade\Route::post("/provision/sslCertFunc", "home/provision/sslCertCustomButton");
    think\facade\Route::get("/provision/certDown/:orderNo", "home/provision/sslCertDown");
    think\facade\Route::post("/zjmf_api/provision/custom/content", "home/provision/postClientAreaContent");
    think\facade\Route::get("navindex", "home/common/index");
    think\facade\Route::get("addindex_page", "home/common/addindexPage");
    think\facade\Route::post("addindex_post", "home/common/addindexPost");
    think\facade\Route::post("addindex_del", "home/common/addindexDel");
    think\facade\Route::get("create_list", "home/index/createList");
    think\facade\Route::post("cart/clear", "home/cart/clearCart");
    think\facade\Route::post("uploads", "home/upload/upload");
    think\facade\Route::post("upper/dcim_client/reinstall", "home/upperReaches/dcimClientReinstall");
    think\facade\Route::post("upper/dcim_client/crack_pass", "home/upperReaches/dcimClientCrackPass");
    think\facade\Route::post("upper/dcim_client/cancel_task", "home/upperReaches/dcimClientCancelReinstall");
    think\facade\Route::post("upper/dcim_client/resintall_status", "home/upperReaches/dcimClientReinstallStatus");
    think\facade\Route::post("upper/dcim_client/get_os", "home/upperReaches/dcimClientGetOs");
    think\facade\Route::get("oauthBind", "home/oauthBind/listing");
    think\facade\Route::post("oauthBind/bind/[:dirName]", "home/oauthBind/bind");
    think\facade\Route::post("oauthBind/untie/[:dirName]", "home/oauthBind/untie");
    think\facade\Route::controller("voucher", "home/Voucher");
    think\facade\Route::any("product_divert/pushserver", "home/viewProductDivert/pushserver");
    think\facade\Route::get("product_divert/pushpulllist", "home/viewProductDivert/pushpulllist");
    think\facade\Route::any("product_divert/pullserver", "home/viewProductDivert/pullserver");
    think\facade\Route::post("product_divert/postNameToUser", "home/productDivert/postNameToUser");
    think\facade\Route::any("product_divert/servicedetail", "home/viewClients/servicedetail");
    think\facade\Route::any("product_divert/pushrefuse", "home/viewProductDivert/pushrefuse");
    think\facade\Route::any("product_divert/pullrefuse", "home/viewProductDivert/pullrefuse");
    think\facade\Route::any("product_divert/verificationResult", "home/viewProductDivert/verificationResult");
    think\facade\Route::post("change_paymt", "home/pay/changePaymt");
    think\facade\Route::post("zjmf_finance_api/reset", "home/ZjmfFinanceApi/resetApiPwd");
    think\facade\Route::post("zjmf_finance_api/open", "home/ZjmfFinanceApi/apiOpen");
    think\facade\Route::get("zjmf_finance_api/summary", "home/ZjmfFinanceApi/summary");
    think\facade\Route::get("interflow/accountbind", "home/interflow/interflowAccountBindInfo");
    think\facade\Route::post("interflow/accountbind", "home/interflow/interflowAccountBind");
})->header("Access-Control-Allow-Origin", $origin)->middleware("Check")->allowCrossDomain();
think\facade\Route::group("", function () {
    think\facade\Route::get("common_list", "home/index/common_list");
    think\facade\Route::get("login_register_index", "home/login/LoginRegisterIndex");
    think\facade\Route::post("register_phone_send", "home/register/registerPhoneSend");
    think\facade\Route::post("register_email_send", "home/register/registerEmailSend");
    think\facade\Route::post("register_phone", "home/register/registerPhone");
    think\facade\Route::post("register_email", "home/register/registerEmail");
    think\facade\Route::post("reset_phone_send", "home/register/resetPhoneSend");
    think\facade\Route::post("reset_email_send", "home/register/resetEmailSend");
    think\facade\Route::post("reset_phone", "home/register/passPhoneReset");
    think\facade\Route::post("reset_email", "home/register/passEmailReset");
    think\facade\Route::get("wechat_login", "home/wechat/index");
    think\facade\Route::get("get_wechat_config", "home/wechat/get_wechat_config");
    think\facade\Route::get("wechat_login_handle", "home/wechat/login_handle");
    think\facade\Route::get("mobile_login_page", "home/login/mobileLoginVerifyPage");
    think\facade\Route::post("login_send", "home/login/mobileSend");
    think\facade\Route::post("mobile_login", "home/login/mobileLoginVerify");
    think\facade\Route::post("login_pass_phone", "home/login/phonePassLogin");
    think\facade\Route::post("login_pass_email", "home/login/emailLogin");
    think\facade\Route::post("zjmf_api_login", "home/login/zjmfApiLogin");
    think\facade\Route::post("resource_login_supplier", "home/login/resourceLogin");
    think\facade\Route::any("loginAccessToken", "home/ViewClients/loginAccessToken");
    think\facade\Route::get("cart/all", "home/cart/getProducts");
    think\facade\Route::get("cart/get_product_config", "home/cart/getProductConfig");
    think\facade\Route::get("cart/summary", "home/Cart/summary");
    think\facade\Route::get("cart/ontrialmax", "home/Cart/ontrialAndMax");
    think\facade\Route::get("cart/hostinfo", "home/Cart/hostInfo");
    think\facade\Route::get("cart/credit", "home/Cart/getCredit");
    think\facade\Route::get("cart/stock_control", "home/Cart/getQty");
    think\facade\Route::post("cart/resource_product", "home/Cart/postResourceProduct");
    think\facade\Route::post("cart/createproducts", "home/Cart/postCreateProducts");
    think\facade\Route::post("cart/productsgroups", "home/Cart/postProductGroups");
    think\facade\Route::get("cart/global_search", "home/cart/globalSearch");
    think\facade\Route::get("cart/index", "home/cart/index");
    think\facade\Route::get("cart/set_config", "home/cart/setConfig");
    think\facade\Route::get("cart/advanced_config", "home/cart/advancedConfig");
    think\facade\Route::get("cart/set_config_post", "home/cart/setConfigPost");
    think\facade\Route::post("cart/get_total", "home/cart/getTotal");
    think\facade\Route::post("cart/add_to_shop", "home/cart/addToShop");
    think\facade\Route::post("cart/modify_product_qty", "home/cart/modifyProductQty");
    think\facade\Route::get("cart/edit_to_shop_page", "home/cart/editToShopPage");
    think\facade\Route::post("cart/edit_to_shop", "home/cart/editToShop");
    think\facade\Route::get("cart/get_shop_data", "home/cart/getShopDataPage");
    think\facade\Route::post("cart/add_promo", "home/cart/addPromoToShop");
    think\facade\Route::post("cart/remove_promo", "home/cart/removePromoToShop");
    think\facade\Route::post("cart/remove_product", "home/cart/removeProduct");
    think\facade\Route::get("cart/shop", "home/test/cartPage");
    think\facade\Route::get("/cart/check_promo_code", "home/test/checkPromoCode");
    think\facade\Route::get("cart/check_page", "home/cart/checkoutPage");
    think\facade\Route::get("cart/prolist", "home/cart/proList");
    think\facade\Route::controller("news", "home/News");
    think\facade\Route::get("news/list", "home/News/getList");
    think\facade\Route::get("news/notice", "home/News/getNotice");
    think\facade\Route::get("news/content", "home/News/getContent");
    think\facade\Route::get("news/catelist", "home/News/getCateList");
    think\facade\Route::get("notice/list", "home/News/getNoticeList");
    think\facade\Route::get("notice/content", "home/News/getNoticeContent");
    think\facade\Route::get("news/:alias", "home/viewClients/news");
    think\facade\Route::get("areas/[:pid]/", "home/user/areas");
    think\facade\Route::get("country", "home/user/country");
    think\facade\Route::get("knowledge_base/index", "home/knowledge_base/index");
    think\facade\Route::post("knowledge_base/search_article", "home/knowledge_base/searchArticle");
    think\facade\Route::post("knowledge_base/tags_list", "home/knowledge_base/tagsList");
    think\facade\Route::get("knowledge_base/view_article/:id", "home/knowledge_base/viewArticle");
    think\facade\Route::get("sale_list", "home/index/SaleList");
    think\facade\Route::get("ticket/download", "home/ticket/download");
    think\facade\Route::get("get_saler", "home/user/getSaler");
    think\facade\Route::post("set_saler", "home/user/setSaler");
    think\facade\Route::get("dcim/download", "home/dcim/download");
    think\facade\Route::get("dcim/novnc", "home/dcim/novncPage");
    think\facade\Route::get("product_list_page", "home/login/getProuductlistPage");
    think\facade\Route::get("config_general/header", "home/index/getHeader");
    think\facade\Route::post("upload_image", "home/upload/uploadImage");
    think\facade\Route::post("home/upload_file", "home/upload/uploadFile");
    think\facade\Route::get("download/product_file", "home/down/productFile");
    think\facade\Route::get("download/cates", "home/down/cates");
    think\facade\Route::post("download/search", "home/down/search");
    think\facade\Route::get("login/second_verify_page", "home/login/getSecondVerifyPage");
    think\facade\Route::post("login/second_verify_send", "home/login/secondVerifySend");
    think\facade\Route::get("cart/market_app", "home/cart/getMarketApp");
    think\facade\Route::get("oauth", "home/oauth/listing");
    think\facade\Route::get("oauth/url/[:dirName]", "home/oauth/url");
    think\facade\Route::get("oauth/callback/[:dirName]", "home/oauth/callback");
    think\facade\Route::get("oauth/callbackInfo", "home/oauth/callbackInfo");
    think\facade\Route::post("oauth/bind_login_email", "home/oauth/bindLoginEmail");
    think\facade\Route::post("oauth/bind_login_phone", "home/oauth/bindLoginPhone");
    think\facade\Route::post("oauth/bind_email_send", "home/oauth/bindEmailSend");
    think\facade\Route::post("oauth/bind_phone_send", "home/oauth/bindPhoneSend");
    think\facade\Route::get("config_general/friendlyLinks", "home/index/getFriendlyLinks");
})->header("Access-Control-Allow-Origin", $origin)->middleware("UserCheck")->allowCrossDomain();
think\facade\Route::get("verify", "home/login/verify");
think\facade\Route::get("aff/[:identy]", "home/login/aff");
think\facade\Route::get("provision/custom/content", "home/provision/getClientAreaContent");
think\facade\Route::any("demots", "home/test/demo_ts");
think\facade\Route::any("shell", "home/test/shell_scipt");

?>