Message.html 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316
  1. <!DOCTYPE HTML>
  2. <html lang="zh-hans" >
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  6. <title>留言投稿 · 梦想家内容管理系统(Dreamer CMS)</title>
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  8. <meta name="description" content="">
  9. <meta name="generator" content="GitBook 3.2.3">
  10. <meta name="author" content="王俊南">
  11. <link rel="stylesheet" href="../gitbook/style.css">
  12. <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
  13. <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
  14. <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
  15. <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
  16. <meta name="HandheldFriendly" content="true"/>
  17. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  18. <meta name="apple-mobile-web-app-capable" content="yes">
  19. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  20. <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
  21. <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
  22. <link rel="next" href="Search.html" />
  23. <link rel="shortcut icon" href="./source/images/favicon.ico" type="image/x-icon">
  24. <link rel="apple-touch-icon-precomposed" sizes="152x152" href="./source/images/favicon.png">
  25. </head>
  26. <body>
  27. <div class="book">
  28. <div class="book-summary">
  29. <div id="book-search-input" role="search">
  30. <input type="text" placeholder="输入并搜索" />
  31. </div>
  32. <nav role="navigation">
  33. <ul class="summary">
  34. <li>
  35. <a href="http://www.iteachyou.cc" target="_blank" class="custom-link">I Teach You,我教你!</a>
  36. </li>
  37. <li>
  38. <a href="https://gitee.com/iteachyou/dreamer_cms" target="_blank" class="custom-link">Dreamer CMS(Gitee)</a>
  39. </li>
  40. <li>
  41. <a href="https://github.com/iteachyou-wjn/dreamer_cms" target="_blank" class="custom-link">Dreamer CMS(Github)</a>
  42. </li>
  43. <li class="divider"></li>
  44. <li class="chapter " data-level="1.1" data-path="../">
  45. <a href="../">
  46. 封面
  47. </a>
  48. </li>
  49. <li class="chapter " data-level="1.2" data-path="../COPYRIGHT.html">
  50. <a href="../COPYRIGHT.html">
  51. 版权
  52. </a>
  53. </li>
  54. <li class="divider"></li>
  55. <li class="chapter " data-level="2.1" >
  56. <span>
  57. 前言
  58. </span>
  59. <ul class="articles">
  60. <li class="chapter " data-level="2.1.1" data-path="../preface/">
  61. <a href="../preface/">
  62. 简介
  63. </a>
  64. </li>
  65. <li class="chapter " data-level="2.1.2" data-path="../preface/Topic.html">
  66. <a href="../preface/Topic.html">
  67. 主题
  68. </a>
  69. </li>
  70. <li class="chapter " data-level="2.1.3" data-path="../preface/Publish.html">
  71. <a href="../preface/Publish.html">
  72. 发行方法
  73. </a>
  74. </li>
  75. <li class="chapter " data-level="2.1.4" data-path="../preface/Online.html">
  76. <a href="../preface/Online.html">
  77. 在线手册
  78. </a>
  79. </li>
  80. <li class="chapter " data-level="2.1.5" data-path="../preface/Last.html">
  81. <a href="../preface/Last.html">
  82. 最后
  83. </a>
  84. </li>
  85. </ul>
  86. </li>
  87. <li class="divider"></li>
  88. <li class="chapter " data-level="3.1" data-path="../chapter01/">
  89. <a href="../chapter01/">
  90. 第一章 模板设计师要求
  91. </a>
  92. <ul class="articles">
  93. <li class="chapter " data-level="3.1.1" data-path="../chapter01/Designer.html">
  94. <a href="../chapter01/Designer.html">
  95. 设计师
  96. </a>
  97. </li>
  98. <li class="chapter " data-level="3.1.2" data-path="../chapter01/Developer.html">
  99. <a href="../chapter01/Developer.html">
  100. 开发者
  101. </a>
  102. </li>
  103. </ul>
  104. </li>
  105. <li class="divider"></li>
  106. <li class="chapter " data-level="4.1" data-path="../chapter02/">
  107. <a href="../chapter02/">
  108. 第二章 模板制作流程
  109. </a>
  110. </li>
  111. <li class="divider"></li>
  112. <li class="chapter " data-level="5.1" >
  113. <span>
  114. 第三章 模板文件及目录结构
  115. </span>
  116. <ul class="articles">
  117. <li class="chapter " data-level="5.1.1" data-path="../chapter03/">
  118. <a href="../chapter03/">
  119. 模版目录
  120. </a>
  121. </li>
  122. <li class="chapter " data-level="5.1.2" data-path="../chapter03/Description.html">
  123. <a href="../chapter03/Description.html">
  124. 模板文件与功能说明
  125. </a>
  126. </li>
  127. <li class="chapter " data-level="5.1.3" data-path="../chapter03/DesignAndUse.html">
  128. <a href="../chapter03/DesignAndUse.html">
  129. 概念,设计和使用模板
  130. </a>
  131. </li>
  132. <li class="chapter " data-level="5.1.4" data-path="../chapter03/NamingRules.html">
  133. <a href="../chapter03/NamingRules.html">
  134. 命名规则
  135. </a>
  136. </li>
  137. <li class="chapter " data-level="5.1.5" data-path="../chapter03/Other.html">
  138. <a href="../chapter03/Other.html">
  139. 其它模板说明
  140. </a>
  141. </li>
  142. </ul>
  143. </li>
  144. <li class="divider"></li>
  145. <li class="chapter " data-level="6.1" data-path="../chapter04/">
  146. <a href="../chapter04/">
  147. 第四章 模板引擎介绍
  148. </a>
  149. <ul class="articles">
  150. <li class="chapter " data-level="6.1.1" data-path="../chapter04/CoreDoc.html">
  151. <a href="../chapter04/CoreDoc.html">
  152. 核心文件
  153. </a>
  154. </li>
  155. <li class="chapter " data-level="6.1.2" data-path="../chapter04/Grammar.html">
  156. <a href="../chapter04/Grammar.html">
  157. 模板语法
  158. </a>
  159. </li>
  160. <li class="chapter " data-level="6.1.3" data-path="../chapter04/LabelCategory.html">
  161. <a href="../chapter04/LabelCategory.html">
  162. 标签分类
  163. </a>
  164. </li>
  165. </ul>
  166. </li>
  167. <li class="divider"></li>
  168. <li class="chapter " data-level="7.1" >
  169. <span>
  170. 第五章 标签参考
  171. </span>
  172. <ul class="articles">
  173. <li class="chapter " data-level="7.1.1" >
  174. <span>
  175. ▶全局标签
  176. </span>
  177. </li>
  178. <li class="chapter " data-level="7.1.2" data-path="../chapter05/GlobalLabel.html">
  179. <a href="../chapter05/GlobalLabel.html">
  180. Global全局配置标签
  181. </a>
  182. </li>
  183. <li class="chapter " data-level="7.1.3" data-path="../chapter05/VariableLabel.html">
  184. <a href="../chapter05/VariableLabel.html">
  185. Variable全局变量标签
  186. </a>
  187. </li>
  188. <li class="chapter " data-level="7.1.4" data-path="../chapter05/TemplateLabel.html">
  189. <a href="../chapter05/TemplateLabel.html">
  190. Template模版路径标签
  191. </a>
  192. </li>
  193. <li class="chapter " data-level="7.1.5" data-path="../chapter05/IncludeLabel.html">
  194. <a href="../chapter05/IncludeLabel.html">
  195. Include引入文件标签
  196. </a>
  197. </li>
  198. <li class="chapter " data-level="7.1.6" data-path="../chapter05/TypeLabel.html">
  199. <a href="../chapter05/TypeLabel.html">
  200. Type栏目调用标签
  201. </a>
  202. </li>
  203. <li class="chapter " data-level="7.1.7" data-path="../chapter05/ChannelLabel.html">
  204. <a href="../chapter05/ChannelLabel.html">
  205. Channel频道列表标签
  206. </a>
  207. </li>
  208. <li class="chapter " data-level="7.1.8" data-path="../chapter05/ListLabel.html">
  209. <a href="../chapter05/ListLabel.html">
  210. List文章列表标签
  211. </a>
  212. </li>
  213. <li class="chapter " data-level="7.1.9" data-path="../chapter05/CategoryArtListLabel.html">
  214. <a href="../chapter05/CategoryArtListLabel.html">
  215. CategoryArtListLabel栏目内容列表标签
  216. </a>
  217. </li>
  218. <li class="chapter " data-level="7.1.10" data-path="../chapter05/TagLabel.html">
  219. <a href="../chapter05/TagLabel.html">
  220. TagLabel标签列表标签
  221. </a>
  222. </li>
  223. <li class="chapter " data-level="7.1.11" data-path="../chapter05/TreeLabel.html">
  224. <a href="../chapter05/TreeLabel.html">
  225. TreeLabel栏目树标签
  226. </a>
  227. </li>
  228. <li class="chapter " data-level="7.1.12" data-path="../chapter05/AttachmentLabel.html">
  229. <a href="../chapter05/AttachmentLabel.html">
  230. AttachmentLabel附件标签
  231. </a>
  232. </li>
  233. <li class="chapter " data-level="7.1.13" data-path="../chapter05/SqlLabel.html">
  234. <a href="../chapter05/SqlLabel.html">
  235. SqlLabel SQL标签
  236. </a>
  237. </li>
  238. <li class="chapter " data-level="7.1.14" data-path="../chapter05/IfLabel.html">
  239. <a href="../chapter05/IfLabel.html">
  240. IfLabel判断标签
  241. </a>
  242. </li>
  243. <li class="chapter " data-level="7.1.15" >
  244. <span>
  245. ▶分页标签
  246. </span>
  247. </li>
  248. <li class="chapter " data-level="7.1.16" data-path="../chapter05/CategoryLabel.html">
  249. <a href="../chapter05/CategoryLabel.html">
  250. Category分页栏目标签
  251. </a>
  252. </li>
  253. <li class="chapter " data-level="7.1.17" data-path="../chapter05/TopCategoryLabel.html">
  254. <a href="../chapter05/TopCategoryLabel.html">
  255. TopCategory分页顶级栏目标签
  256. </a>
  257. </li>
  258. <li class="chapter " data-level="7.1.18" data-path="../chapter05/LocationLabel.html">
  259. <a href="../chapter05/LocationLabel.html">
  260. Location当前位置标签
  261. </a>
  262. </li>
  263. <li class="chapter " data-level="7.1.19" >
  264. <span>
  265. ▶列表标签
  266. </span>
  267. </li>
  268. <li class="chapter " data-level="7.1.20" data-path="../chapter05/PageListLabel.html">
  269. <a href="../chapter05/PageListLabel.html">
  270. PageList文章分页标签
  271. </a>
  272. </li>
  273. <li class="chapter " data-level="7.1.21" data-path="../chapter05/PaginationLabel.html">
  274. <a href="../chapter05/PaginationLabel.html">
  275. Pagination显示分页标签
  276. </a>
  277. </li>
  278. <li class="chapter " data-level="7.1.22" >
  279. <span>
  280. ▶内容标签
  281. </span>
  282. </li>
  283. <li class="chapter " data-level="7.1.23" data-path="../chapter05/ArticleLabel.html">
  284. <a href="../chapter05/ArticleLabel.html">
  285. Article文章页标签
  286. </a>
  287. </li>
  288. <li class="chapter " data-level="7.1.24" data-path="../chapter05/PrevNextLabel.html">
  289. <a href="../chapter05/PrevNextLabel.html">
  290. PrevNext上一篇、下一篇标签
  291. </a>
  292. </li>
  293. </ul>
  294. </li>
  295. <li class="chapter " data-level="7.2" data-path="../chapter06/DataBase.html">
  296. <a href="../chapter06/DataBase.html">
  297. 第六章 数据库
  298. </a>
  299. </li>
  300. <li class="chapter " data-level="7.3" >
  301. <span>
  302. 第七章 模板扩展
  303. </span>
  304. <ul class="articles">
  305. <li class="chapter active" data-level="7.3.1" data-path="Message.html">
  306. <a href="Message.html">
  307. 留言投稿
  308. </a>
  309. </li>
  310. <li class="chapter " data-level="7.3.2" data-path="Search.html">
  311. <a href="Search.html">
  312. 网站搜索
  313. </a>
  314. </li>
  315. <li class="chapter " data-level="7.3.3" data-path="DefineLabel.html">
  316. <a href="DefineLabel.html">
  317. 定义标签
  318. </a>
  319. </li>
  320. <li class="chapter " data-level="7.3.4" data-path="Regexp.html">
  321. <a href="Regexp.html">
  322. 正则工具类
  323. </a>
  324. </li>
  325. </ul>
  326. </li>
  327. <li class="chapter " data-level="7.4" >
  328. <span>
  329. 第八章 部署上线
  330. </span>
  331. <ul class="articles">
  332. <li class="chapter " data-level="7.4.1" data-path="../chapter08/Environment.html">
  333. <a href="../chapter08/Environment.html">
  334. 环境准备
  335. </a>
  336. </li>
  337. <li class="chapter " data-level="7.4.2" data-path="../chapter08/Packaging.html">
  338. <a href="../chapter08/Packaging.html">
  339. 应用打包
  340. </a>
  341. </li>
  342. <li class="chapter " data-level="7.4.3" data-path="../chapter08/Online.html">
  343. <a href="../chapter08/Online.html">
  344. 项目上线
  345. </a>
  346. </li>
  347. </ul>
  348. </li>
  349. <li class="chapter " data-level="7.5" >
  350. <span>
  351. 第九章 常见问题
  352. </span>
  353. <ul class="articles">
  354. <li class="chapter " data-level="7.5.1" data-path="../chapter09/Business.html">
  355. <a href="../chapter09/Business.html">
  356. 商业授权
  357. </a>
  358. </li>
  359. <li class="chapter " data-level="7.5.2" data-path="../chapter09/ResourceDir.html">
  360. <a href="../chapter09/ResourceDir.html">
  361. 资源目录
  362. </a>
  363. </li>
  364. <li class="chapter " data-level="7.5.3" data-path="../chapter09/RichTextEditor.html">
  365. <a href="../chapter09/RichTextEditor.html">
  366. 富文本编辑器
  367. </a>
  368. </li>
  369. <li class="chapter " data-level="7.5.4" data-path="../chapter09/NavActive.html">
  370. <a href="../chapter09/NavActive.html">
  371. 导航Active
  372. </a>
  373. </li>
  374. <li class="chapter " data-level="7.5.5" data-path="../chapter09/CategoryPage.html">
  375. <a href="../chapter09/CategoryPage.html">
  376. 栏目分页
  377. </a>
  378. </li>
  379. <li class="chapter " data-level="7.5.6" data-path="../chapter09/CategoryFilter.html">
  380. <a href="../chapter09/CategoryFilter.html">
  381. 多级栏目筛选
  382. </a>
  383. </li>
  384. <li class="chapter " data-level="7.5.7" data-path="../chapter09/MutipleLanguage.html">
  385. <a href="../chapter09/MutipleLanguage.html">
  386. 多语言网站
  387. </a>
  388. </li>
  389. <li class="chapter " data-level="7.5.8" data-path="../chapter09/UploadContrl.html">
  390. <a href="../chapter09/UploadContrl.html">
  391. 上传大小控制
  392. </a>
  393. </li>
  394. <li class="chapter " data-level="7.5.9" data-path="../chapter09/ResourceNotFound.html">
  395. <a href="../chapter09/ResourceNotFound.html">
  396. 上线图片404
  397. </a>
  398. </li>
  399. <li class="chapter " data-level="7.5.10" data-path="../chapter09/Favicon.html">
  400. <a href="../chapter09/Favicon.html">
  401. 站点Favicon
  402. </a>
  403. </li>
  404. </ul>
  405. </li>
  406. <li class="chapter " data-level="7.6" >
  407. <span>
  408. 第十章 关于捐赠
  409. </span>
  410. <ul class="articles">
  411. <li class="chapter " data-level="7.6.1" data-path="../chapter10/DonationList.html">
  412. <a href="../chapter10/DonationList.html">
  413. 授权和捐赠
  414. </a>
  415. </li>
  416. </ul>
  417. </li>
  418. <li class="divider"></li>
  419. <li>
  420. <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
  421. 本书使用 GitBook 发布
  422. </a>
  423. </li>
  424. </ul>
  425. </nav>
  426. </div>
  427. <div class="book-body">
  428. <div class="body-inner">
  429. <div class="book-header" role="navigation">
  430. <!-- Title -->
  431. <h1>
  432. <i class="fa fa-circle-o-notch fa-spin"></i>
  433. <a href=".." >留言投稿</a>
  434. </h1>
  435. </div>
  436. <div class="page-wrapper" tabindex="-1" role="main">
  437. <div class="page-inner">
  438. <div id="book-search-results">
  439. <div class="search-noresults">
  440. <section class="normal markdown-section">
  441. <div style="display: flex;">
  442. <img src="https://oss.iteachyou.cc/logo.png" height="30">
  443. <div style="margin-left: 5px; font-size: 30px; line-height: 30px; font-weight: bold;">&#x68A6;&#x60F3;&#x5BB6;&#x5185;&#x5BB9;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;</div>
  444. </div>
  445. <hr>
  446. <h3 id="&#x7559;&#x8A00;&#x6295;&#x7A3F;"><a name="&#x7559;&#x8A00;&#x6295;&#x7A3F;" class="plugin-anchor" href="#&#x7559;&#x8A00;&#x6295;&#x7A3F;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x7559;&#x8A00;&#x6295;&#x7A3F;</h3>
  447. <p>&#x5728;&#x7F51;&#x7AD9;&#x5F00;&#x53D1;&#x65F6;&#xFF0C;&#x96BE;&#x514D;&#x4F1A;&#x6709;&#x7559;&#x8A00;&#x6295;&#x7A3F;&#x7684;&#x9700;&#x6C42;&#xFF0C;Dreamer CMS&#x8003;&#x8651;&#x5230;&#x8FD9;&#x70B9;&#xFF0C;&#x4E3A;&#x5927;&#x5BB6;&#x63D0;&#x4F9B;&#x4E86;&#x7559;&#x8A00;&#x6295;&#x7A3F;&#x7684;&#x529F;&#x80FD;&#x3002;&#x4EE5;&#x4E0B;&#x5185;&#x5BB9;&#x8BE6;&#x7EC6;&#x4ECB;&#x7ECD;&#x5728;&#x81EA;&#x5B9A;&#x4E49;&#x6A21;&#x677F;&#x4E2D;&#xFF0C;&#x5982;&#x4F55;&#x4F7F;&#x7528;&#x7559;&#x8A00;&#x6295;&#x7A3F;&#x7684;&#x529F;&#x80FD;&#x3002;</p>
  448. <p>&#x6A21;&#x677F;&#x6587;&#x4EF6;&#xFF1A;</p>
  449. <pre><code>&#x65B0;&#x7248;&#xFF1A;default_v2/list_case.html
  450. &#x65E7;&#x7248;&#xFF1A;default/list_message.html
  451. </code></pre><h4 id="&#x524D;&#x7AEF;&#x8868;&#x5355;"><a name="&#x524D;&#x7AEF;&#x8868;&#x5355;" class="plugin-anchor" href="#&#x524D;&#x7AEF;&#x8868;&#x5355;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x524D;&#x7AEF;&#x8868;&#x5355;</h4>
  452. <p>&#x5728;&#x4F7F;&#x7528;&#x7559;&#x8A00;&#x6295;&#x7A3F;&#x529F;&#x80FD;&#x65F6;&#xFF0C;&#x4E3A;&#x4E86;&#x9632;&#x6B62;&#x6076;&#x610F;&#x7559;&#x8A00;&#xFF0C;&#x6211;&#x4EEC;&#x5FC5;&#x987B;&#x8981;&#x4F7F;&#x7528;&#x56FE;&#x5F62;&#x9A8C;&#x8BC1;&#x7801;&#x529F;&#x80FD;&#x8FDB;&#x884C;&#x6821;&#x9A8C;&#x3002;</p>
  453. <ol>
  454. <li><p>&#x7F51;&#x7AD9;&#x540E;&#x53F0;</p>
  455. <pre><code class="lang-javascript?linenums">&#x5728;&#x7F51;&#x7AD9;&#x540E;&#x53F0;&#x680F;&#x76EE;&#x7BA1;&#x7406;&#x4E2D;&#xFF0C;&#x8981;&#x9488;&#x5BF9;&#x7559;&#x8A00;&#x7684;&#x680F;&#x76EE;&#xFF0C;&#x5FC5;&#x987B;&#x8981;&#x5F00;&#x542F;&#x5141;&#x8BB8;&#x6295;&#x7A3F;&#x3002;
  456. </code></pre>
  457. <p><img src="https://oss.iteachyou.cc/20230227082602.png" alt="list&#x6807;&#x7B7E;" title="&#x7559;&#x8A00;&#x6295;&#x7A3F;"></p>
  458. </li>
  459. <li><p>&#x9A8C;&#x8BC1;&#x7801;&#x5730;&#x5740;</p>
  460. <pre><code class="lang-javascript?linenums">var captchaURL = &quot;/getKaptcha?t=&quot; + new Date().getTime();
  461. // &#x5EFA;&#x8BAE;&#x6BCF;&#x6B21;&#x5207;&#x6362;&#x90FD;&#x52A0;&#x4E0A;&#x65F6;&#x95F4;&#x6233;&#x4F5C;&#x4E3A;&#x53C2;&#x6570;&#xFF0C;&#x907F;&#x514D;&#x7F13;&#x5B58;
  462. </code></pre>
  463. </li>
  464. <li>&#x8868;&#x5355;&#x5B9A;&#x4E49;<pre><code class="lang-html?linenums">&lt;form action=&quot;/input&quot; method=&quot;post&quot;&gt;
  465. &lt;input type=&quot;hidden&quot; name=&quot;typeid&quot; value=&quot;wqz18j7q&quot; /&gt;
  466. &lt;input type=&quot;hidden&quot; name=&quot;formkey&quot; value=&quot;8t2lkr8d&quot; /&gt;
  467. &lt;div class=&quot;item&quot;&gt;
  468. &lt;input type=&quot;text&quot; id=&quot;title&quot; placeholder=&quot;&#x586B;&#x5199;&#x60A8;&#x7684;&#x59D3;&#x540D;&quot; name=&quot;title&quot;&gt;
  469. &lt;/div&gt;
  470. &lt;div class=&quot;item&quot;&gt;
  471. &lt;input type=&quot;text&quot; id=&quot;telephone&quot; placeholder=&quot;&#x586B;&#x5199;&#x60A8;&#x7684;&#x8054;&#x7CFB;&#x7535;&#x8BDD;&quot; name=&quot;telephone&quot;&gt;
  472. &lt;/div&gt;
  473. &lt;div class=&quot;item&quot;&gt;
  474. &lt;textarea id=&quot;content&quot; name=&quot;content&quot; class=&quot;form-control&quot; placeholder=&quot;&#x586B;&#x5199;&#x60A8;&#x7684;&#x9700;&#x6C42;&quot;&gt;&lt;/textarea&gt;
  475. &lt;/div&gt;
  476. &lt;div class=&quot;captcha&quot;&gt;
  477. &lt;div class=&quot;login-form-vcode&quot;&gt;&lt;img alt=&quot;&#x56FE;&#x7247;&#x9A8C;&#x8BC1;&#x7801;&quot; width=&quot;120&quot; height=&quot;46&quot; src=&quot;&quot; id=&quot;vcode&quot;&gt;&lt;/div&gt;
  478. &lt;div class=&quot;login-form-vcode-input&quot;&gt;&lt;input type=&quot;text&quot; name=&quot;captcha&quot; placeholder=&quot;&#x9A8C;&#x8BC1;&#x7801;&quot; required=&quot;required&quot; class=&quot;form-control&quot; /&gt;&lt;/div&gt;
  479. &lt;div class=&quot;clearFix&quot;&gt;&lt;/div&gt;
  480. &lt;/div&gt;
  481. &lt;div class=&quot;form-btn-group-left&quot;&gt;
  482. &lt;div class=&quot;submission set_5_button&quot; id=&quot;essentialInformation&quot;&gt;&#x63D0;&#x4EA4;&lt;/div&gt;
  483. &lt;/div&gt;
  484. &lt;/form&gt;
  485. </code></pre>
  486. </li>
  487. </ol>
  488. <p>&#x6CE8;&#x610F;&#xFF1A;</p>
  489. <ol>
  490. <li>&#x63D0;&#x4EA4;&#x5730;&#x5740;&#x5FC5;&#x987B;&#x4E3A;/input&#xFF0C;&#x65B9;&#x5F0F;&#x5FC5;&#x987B;&#x4E3A;POST&#x3002;</li>
  491. <li>captcha: &#x9A8C;&#x8BC1;&#x7801;&#x5B57;&#x6BB5;&#x540D;&#xFF0C;&#x4E0D;&#x53EF;&#x6539;&#x53D8;&#x3002;</li>
  492. <li>typeid&#xFF1A;&#x4F7F;&#x7528;&#x9690;&#x85CF;&#x57DF;&#x6765;&#x5B9A;&#x4E49;&#x8BE5;&#x7559;&#x8A00;&#x63D0;&#x4EA4;&#x540E;&#xFF0C;&#x8981;&#x63D0;&#x4EA4;&#x5230;&#x540E;&#x53F0;&#x7684;&#x54EA;&#x4E00;&#x4E2A;&#x680F;&#x76EE;&#x4E2D;&#xFF0C;&#x4E0D;&#x53EF;&#x6539;&#x53D8;&#x3002;</li>
  493. <li>formkey&#xFF1A;&#x8BE5;&#x680F;&#x76EE;&#x6240;&#x4F7F;&#x7528;&#x7684;&#x8868;&#x5355;&#x6A21;&#x578B;&#xFF0C;&#x6307;&#x5B9A;&#x540E;&#x53EF;&#x4F7F;&#x7528;&#x8868;&#x5355;&#x6A21;&#x578B;&#x4E2D;&#x5B9A;&#x4E49;&#x7684;&#x5B57;&#x6BB5;&#x540D;&#xFF0C;&#x4E0D;&#x53EF;&#x6539;&#x53D8;&#x3002;</li>
  494. <li>title&#xFF1A;&#x516C;&#x5171;&#x5B57;&#x6BB5;&#xFF0C;&#x6587;&#x7AE0;&#x6807;&#x9898;&#xFF0C;&#x4E0D;&#x53EF;&#x6539;&#x53D8;&#x3002;</li>
  495. <li>telephone|content&#xFF1A;&#x8868;&#x5355;&#x6A21;&#x578B;&#x4E2D;&#x5B9A;&#x4E49;&#x7684;&#x5B57;&#x6BB5;&#x3002;</li>
  496. </ol>
  497. <h4 id="&#x540E;&#x7AEF;&#x63A5;&#x6536;"><a name="&#x540E;&#x7AEF;&#x63A5;&#x6536;" class="plugin-anchor" href="#&#x540E;&#x7AEF;&#x63A5;&#x6536;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x540E;&#x7AEF;&#x63A5;&#x6536;</h4>
  498. <pre><code class="lang-java?linenums">cc.iteachyou.cms.controller.FrontController
  499. </code></pre>
  500. <p>&#x5728;&#x8BE5;&#x7C7B;&#x4E2D;&#x7684;input&#x65B9;&#x6CD5;&#xFF0C;&#x4E3A;&#x540E;&#x7AEF;&#x63A5;&#x6536;&#x524D;&#x53F0;&#x7559;&#x8A00;&#x7684;&#x63A7;&#x5236;&#x5668;&#x3002;&#x8FD4;&#x56DE;JSON&#x6570;&#x636E;&#xFF0C;&#x683C;&#x5F0F;&#x5982;&#x4E0B;&#xFF1A;</p>
  501. <pre><code class="lang-javascript?linenums">{
  502. &quot;success&quot;: true,
  503. &quot;state&quot;: &quot;200&quot;,
  504. &quot;data&quot;: null,
  505. &quot;info&quot;: &quot;&#x64CD;&#x4F5C;&#x6210;&#x529F;&quot;
  506. }
  507. // &#x524D;&#x53F0;&#x53EA;&#x9700;&#x8981;&#x5224;&#x65AD;response.state === &quot;200&quot;&#x5373;&#x53EF;&#xFF0C;&#x5176;&#x5B83;&#x7ED3;&#x679C;&#x5747;&#x4E3A;&#x5931;&#x8D25;&#x3002;
  508. </code></pre>
  509. <h4 id="&#x8303;&#x4F8B;"><a name="&#x8303;&#x4F8B;" class="plugin-anchor" href="#&#x8303;&#x4F8B;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8303;&#x4F8B;</h4>
  510. <p><img src="https://oss.iteachyou.cc/20230227083501.png" alt="list&#x6807;&#x7B7E;" title="&#x7559;&#x8A00;&#x6295;&#x7A3F;"></p>
  511. </section>
  512. </div>
  513. <div class="search-results">
  514. <div class="has-results">
  515. <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
  516. <ul class="search-results-list"></ul>
  517. </div>
  518. <div class="no-results">
  519. <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
  520. </div>
  521. </div>
  522. </div>
  523. </div>
  524. </div>
  525. </div>
  526. <a href="Search.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 网站搜索">
  527. <i class="fa fa-angle-right"></i>
  528. </a>
  529. </div>
  530. <script>
  531. var gitbook = gitbook || [];
  532. gitbook.push(function() {
  533. gitbook.page.hasChanged({"page":{"title":"留言投稿","level":"7.3.1","depth":2,"next":{"title":"网站搜索","level":"7.3.2","depth":2,"path":"chapter07/Search.md","ref":"chapter07/Search.md","articles":[]},"previous":{"title":"第七章 模板扩展","level":"7.3","depth":1,"ref":"","articles":[{"title":"留言投稿","level":"7.3.1","depth":2,"path":"chapter07/Message.md","ref":"chapter07/Message.md","articles":[]},{"title":"网站搜索","level":"7.3.2","depth":2,"path":"chapter07/Search.md","ref":"chapter07/Search.md","articles":[]},{"title":"定义标签","level":"7.3.3","depth":2,"path":"chapter07/DefineLabel.md","ref":"chapter07/DefineLabel.md","articles":[]},{"title":"正则工具类","level":"7.3.4","depth":2,"path":"chapter07/Regexp.md","ref":"chapter07/Regexp.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["anchors","favicon-absolute","highlight"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"favicon-absolute":{"appleTouchIconMore":{},"appleTouchIconPrecomposed152":"./source/images/favicon.png","appleTouchIconPrecomposedMore":{},"favicon":"./source/images/favicon.ico"},"anchors":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"王俊南","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"梦想家内容管理系统(Dreamer CMS)","language":"zh-hans","links":{"sidebar":{"I Teach You,我教你!":"http://www.iteachyou.cc","Dreamer CMS(Gitee)":"https://gitee.com/iteachyou/dreamer_cms","Dreamer CMS(Github)":"https://github.com/iteachyou-wjn/dreamer_cms"}},"gitbook":"3.2.3","description":"Dreamer CMS,梦想家内容管理系统官方使用文档"},"file":{"path":"chapter07/Message.md","mtime":"2023-09-28T07:00:56.535Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2024-05-14T01:34:04.807Z"},"basePath":"..","book":{"language":""}});
  534. });
  535. </script>
  536. </div>
  537. <script src="../gitbook/gitbook.js"></script>
  538. <script src="../gitbook/theme.js"></script>
  539. <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
  540. <script src="../gitbook/gitbook-plugin-search/search.js"></script>
  541. <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
  542. <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
  543. <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
  544. <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
  545. </body>
  546. </html>