wonderful.sql 107 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968
  1. -- MySQL dump 10.16 Distrib 10.1.32-MariaDB, for Linux (x86_64)
  2. --
  3. -- Host: 0.0.0.0 Database: wonderful
  4. -- ------------------------------------------------------
  5. -- Server version 10.1.32-MariaDB
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `wonderful_act_comment`
  18. --
  19. DROP TABLE IF EXISTS `wonderful_act_comment`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `wonderful_act_comment` (
  23. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  24. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  25. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '评论类别',
  26. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  27. `num_up` int(11) NOT NULL DEFAULT '0' COMMENT '点赞数',
  28. `content` text COMMENT '内容',
  29. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  30. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '评论时间',
  31. PRIMARY KEY (`id`)
  32. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  33. /*!40101 SET character_set_client = @saved_cs_client */;
  34. --
  35. -- Table structure for table `wonderful_act_invite`
  36. --
  37. DROP TABLE IF EXISTS `wonderful_act_invite`;
  38. /*!40101 SET @saved_cs_client = @@character_set_client */;
  39. /*!40101 SET character_set_client = utf8 */;
  40. CREATE TABLE `wonderful_act_invite` (
  41. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  42. `source_uid` int(11) NOT NULL DEFAULT '0' COMMENT '邀请者',
  43. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '邀请类型',
  44. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  45. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '被邀请者',
  46. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  47. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '时间',
  48. PRIMARY KEY (`id`)
  49. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  50. /*!40101 SET character_set_client = @saved_cs_client */;
  51. --
  52. -- Dumping data for table `wonderful_act_invite`
  53. --
  54. LOCK TABLES `wonderful_act_invite` WRITE;
  55. /*!40000 ALTER TABLE `wonderful_act_invite` DISABLE KEYS */;
  56. /*!40000 ALTER TABLE `wonderful_act_invite` ENABLE KEYS */;
  57. UNLOCK TABLES;
  58. --
  59. -- Table structure for table `wonderful_act_like`
  60. --
  61. DROP TABLE IF EXISTS `wonderful_act_like`;
  62. /*!40101 SET @saved_cs_client = @@character_set_client */;
  63. /*!40101 SET character_set_client = utf8 */;
  64. CREATE TABLE `wonderful_act_like` (
  65. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  66. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  67. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '喜欢类别',
  68. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  69. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  70. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢时间',
  71. PRIMARY KEY (`id`)
  72. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  73. /*!40101 SET character_set_client = @saved_cs_client */;
  74. --
  75. -- Table structure for table `wonderful_act_live_comment`
  76. --
  77. DROP TABLE IF EXISTS `wonderful_act_live_comment`;
  78. /*!40101 SET @saved_cs_client = @@character_set_client */;
  79. /*!40101 SET character_set_client = utf8 */;
  80. CREATE TABLE `wonderful_act_live_comment` (
  81. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  82. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  83. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '评论类别',
  84. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  85. `content` text COMMENT '内容',
  86. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  87. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '评论时间',
  88. PRIMARY KEY (`id`)
  89. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  90. /*!40101 SET character_set_client = @saved_cs_client */;
  91. --
  92. -- Dumping data for table `wonderful_act_live_comment`
  93. --
  94. LOCK TABLES `wonderful_act_live_comment` WRITE;
  95. /*!40000 ALTER TABLE `wonderful_act_live_comment` DISABLE KEYS */;
  96. /*!40000 ALTER TABLE `wonderful_act_live_comment` ENABLE KEYS */;
  97. UNLOCK TABLES;
  98. --
  99. -- Table structure for table `wonderful_act_live_note`
  100. --
  101. DROP TABLE IF EXISTS `wonderful_act_live_note`;
  102. /*!40101 SET @saved_cs_client = @@character_set_client */;
  103. /*!40101 SET character_set_client = utf8 */;
  104. CREATE TABLE `wonderful_act_live_note` (
  105. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  106. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  107. `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否发送状态提醒-1未发送,2已发送',
  108. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  109. `formid` varchar(200) DEFAULT NULL COMMENT 'FORMID',
  110. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  111. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '提醒时间',
  112. PRIMARY KEY (`id`)
  113. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  114. /*!40101 SET character_set_client = @saved_cs_client */;
  115. --
  116. -- Dumping data for table `wonderful_act_live_note`
  117. --
  118. LOCK TABLES `wonderful_act_live_note` WRITE;
  119. /*!40000 ALTER TABLE `wonderful_act_live_note` DISABLE KEYS */;
  120. /*!40000 ALTER TABLE `wonderful_act_live_note` ENABLE KEYS */;
  121. UNLOCK TABLES;
  122. --
  123. -- Table structure for table `wonderful_act_score`
  124. --
  125. DROP TABLE IF EXISTS `wonderful_act_score`;
  126. /*!40101 SET @saved_cs_client = @@character_set_client */;
  127. /*!40101 SET character_set_client = utf8 */;
  128. CREATE TABLE `wonderful_act_score` (
  129. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  130. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  131. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '订阅类别',
  132. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  133. `user_log_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户积分日志ID',
  134. `score` varchar(80) DEFAULT NULL COMMENT '积分',
  135. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  136. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '时间',
  137. PRIMARY KEY (`id`)
  138. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  139. /*!40101 SET character_set_client = @saved_cs_client */;
  140. --
  141. -- Table structure for table `wonderful_act_share`
  142. --
  143. DROP TABLE IF EXISTS `wonderful_act_share`;
  144. /*!40101 SET @saved_cs_client = @@character_set_client */;
  145. /*!40101 SET character_set_client = utf8 */;
  146. CREATE TABLE `wonderful_act_share` (
  147. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  148. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  149. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '分享类别',
  150. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  151. `content` text COMMENT '内容',
  152. `num` int(11) NOT NULL DEFAULT '0' COMMENT '分享次数',
  153. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  154. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '分享时间',
  155. PRIMARY KEY (`id`)
  156. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  157. /*!40101 SET character_set_client = @saved_cs_client */;
  158. --
  159. -- Dumping data for table `wonderful_act_share`
  160. --
  161. LOCK TABLES `wonderful_act_share` WRITE;
  162. /*!40000 ALTER TABLE `wonderful_act_share` DISABLE KEYS */;
  163. /*!40000 ALTER TABLE `wonderful_act_share` ENABLE KEYS */;
  164. UNLOCK TABLES;
  165. --
  166. -- Table structure for table `wonderful_act_share_reflux`
  167. --
  168. DROP TABLE IF EXISTS `wonderful_act_share_reflux`;
  169. /*!40101 SET @saved_cs_client = @@character_set_client */;
  170. /*!40101 SET character_set_client = utf8 */;
  171. CREATE TABLE `wonderful_act_share_reflux` (
  172. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  173. `source_uid` int(11) NOT NULL DEFAULT '0' COMMENT '分享者',
  174. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '分享类别',
  175. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  176. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '回流用户',
  177. `user_type` tinyint(1) NOT NULL DEFAULT '3' COMMENT '是否新用户',
  178. `gid` varchar(80) DEFAULT NULL COMMENT '群组ID',
  179. `share_id` int(11) NOT NULL DEFAULT '0' COMMENT '分享ID',
  180. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  181. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  182. PRIMARY KEY (`id`)
  183. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  184. /*!40101 SET character_set_client = @saved_cs_client */;
  185. --
  186. -- Dumping data for table `wonderful_act_share_reflux`
  187. --
  188. LOCK TABLES `wonderful_act_share_reflux` WRITE;
  189. /*!40000 ALTER TABLE `wonderful_act_share_reflux` DISABLE KEYS */;
  190. /*!40000 ALTER TABLE `wonderful_act_share_reflux` ENABLE KEYS */;
  191. UNLOCK TABLES;
  192. --
  193. -- Table structure for table `wonderful_act_subscribe`
  194. --
  195. DROP TABLE IF EXISTS `wonderful_act_subscribe`;
  196. /*!40101 SET @saved_cs_client = @@character_set_client */;
  197. /*!40101 SET character_set_client = utf8 */;
  198. CREATE TABLE `wonderful_act_subscribe` (
  199. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  200. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  201. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '订阅类别',
  202. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  203. `source` tinyint(1) NOT NULL DEFAULT '0' COMMENT '来源',
  204. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  205. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢时间',
  206. PRIMARY KEY (`id`)
  207. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  208. /*!40101 SET character_set_client = @saved_cs_client */;
  209. --
  210. -- Table structure for table `wonderful_act_watch`
  211. --
  212. DROP TABLE IF EXISTS `wonderful_act_watch`;
  213. /*!40101 SET @saved_cs_client = @@character_set_client */;
  214. /*!40101 SET character_set_client = utf8 */;
  215. CREATE TABLE `wonderful_act_watch` (
  216. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  217. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  218. `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '类别',
  219. `data_id` int(11) NOT NULL DEFAULT '0' COMMENT '标题',
  220. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  221. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢时间',
  222. PRIMARY KEY (`id`)
  223. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  224. /*!40101 SET character_set_client = @saved_cs_client */;
  225. --
  226. -- Table structure for table `wonderful_audit_data`
  227. --
  228. DROP TABLE IF EXISTS `wonderful_audit_data`;
  229. /*!40101 SET @saved_cs_client = @@character_set_client */;
  230. /*!40101 SET character_set_client = utf8 */;
  231. CREATE TABLE `wonderful_audit_data` (
  232. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  233. `type` int(11) NOT NULL DEFAULT '1' COMMENT '类型',
  234. `data_id` varchar(80) DEFAULT NULL COMMENT '数据ID',
  235. `name` varchar(80) DEFAULT NULL COMMENT '标题',
  236. `audit` int(11) NOT NULL DEFAULT '1' COMMENT '审核状态',
  237. `pdate` int(11) NOT NULL DEFAULT '0' COMMENT '发布时间',
  238. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  239. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  240. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  241. `status` int(11) NOT NULL DEFAULT '1' COMMENT '上线状态',
  242. `cate_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属栏目',
  243. PRIMARY KEY (`id`)
  244. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  245. /*!40101 SET character_set_client = @saved_cs_client */;
  246. --
  247. -- Table structure for table `wonderful_code_config`
  248. --
  249. DROP TABLE IF EXISTS `wonderful_code_config`;
  250. /*!40101 SET @saved_cs_client = @@character_set_client */;
  251. /*!40101 SET character_set_client = utf8 */;
  252. CREATE TABLE `wonderful_code_config` (
  253. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '系统ID',
  254. `product_id` int(11) NOT NULL DEFAULT '0' COMMENT '选择小刊',
  255. `num` varchar(32) DEFAULT NULL COMMENT '兑换码数量',
  256. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  257. `product_num` varchar(32) NOT NULL DEFAULT '1' COMMENT '兑换本数',
  258. PRIMARY KEY (`id`)
  259. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  260. /*!40101 SET character_set_client = @saved_cs_client */;
  261. --
  262. -- Table structure for table `wonderful_code_info`
  263. --
  264. DROP TABLE IF EXISTS `wonderful_code_info`;
  265. /*!40101 SET @saved_cs_client = @@character_set_client */;
  266. /*!40101 SET character_set_client = utf8 */;
  267. CREATE TABLE `wonderful_code_info` (
  268. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  269. `product_id` int(11) NOT NULL DEFAULT '0' COMMENT '小刊',
  270. `code` varchar(32) DEFAULT NULL COMMENT '兑换码',
  271. `type` int(11) NOT NULL DEFAULT '1' COMMENT '使用状态',
  272. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户信息',
  273. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  274. `ldate` int(11) NOT NULL DEFAULT '0' COMMENT '领取时间',
  275. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '生成时间',
  276. `product_num` int(11) NOT NULL DEFAULT '1' COMMENT '兑换本数',
  277. PRIMARY KEY (`id`)
  278. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  279. /*!40101 SET character_set_client = @saved_cs_client */;
  280. --
  281. -- Table structure for table `wonderful_content_article`
  282. --
  283. DROP TABLE IF EXISTS `wonderful_content_article`;
  284. /*!40101 SET @saved_cs_client = @@character_set_client */;
  285. /*!40101 SET character_set_client = utf8 */;
  286. CREATE TABLE `wonderful_content_article` (
  287. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  288. `name` varchar(80) DEFAULT NULL COMMENT '标题',
  289. `cate_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属栏目',
  290. `author_id` int(11) NOT NULL DEFAULT '1' COMMENT '作者',
  291. `tag` text COMMENT '标签',
  292. `pic_cover` varchar(150) DEFAULT NULL COMMENT '封面图-4:3比例的图片',
  293. `num_add_view` int(11) NOT NULL DEFAULT '0' COMMENT '浏览量基数',
  294. `num_view` int(11) NOT NULL DEFAULT '0' COMMENT '浏览量PV',
  295. `num_up` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢数',
  296. `num_comment` int(11) NOT NULL DEFAULT '0' COMMENT '评论数',
  297. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  298. `admin_founder` int(11) NOT NULL DEFAULT '1' COMMENT '创建人',
  299. `admin_editor` int(11) NOT NULL DEFAULT '1' COMMENT '操作人',
  300. `pdate` int(11) NOT NULL DEFAULT '0' COMMENT '发布时间',
  301. `share` text COMMENT '分享海报-选择海报库中的海报',
  302. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  303. `udate` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
  304. `content` text COMMENT '内容',
  305. `audit` int(11) NOT NULL DEFAULT '1' COMMENT '审核状态',
  306. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  307. `num_add_up` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢基数',
  308. `function` varchar(100) NOT NULL DEFAULT '1' COMMENT '功能选择',
  309. `share_yes` int(11) NOT NULL DEFAULT '1' COMMENT '是否显示分享按钮',
  310. `share_title` varchar(100) NOT NULL COMMENT '分享标题',
  311. `share_pic` varchar(150) NOT NULL COMMENT '分享图片',
  312. `share_content` varchar(200) NOT NULL COMMENT '分享内容',
  313. `status` int(11) NOT NULL DEFAULT '1' COMMENT '发布状态',
  314. `wechat` int(11) NOT NULL DEFAULT '1' COMMENT '是否公众号文章',
  315. `wechat_data_id` int(11) NOT NULL DEFAULT '1' COMMENT '微信数据ID',
  316. `pic_cover_169` varchar(150) NOT NULL COMMENT '16:9封面图-请上传16:9比例的封面图',
  317. PRIMARY KEY (`id`)
  318. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  319. /*!40101 SET character_set_client = @saved_cs_client */;
  320. --
  321. -- Table structure for table `wonderful_content_author`
  322. --
  323. DROP TABLE IF EXISTS `wonderful_content_author`;
  324. /*!40101 SET @saved_cs_client = @@character_set_client */;
  325. /*!40101 SET character_set_client = utf8 */;
  326. CREATE TABLE `wonderful_content_author` (
  327. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  328. `name` varchar(32) DEFAULT NULL COMMENT '作者名称',
  329. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  330. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  331. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  332. PRIMARY KEY (`id`)
  333. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  334. /*!40101 SET character_set_client = @saved_cs_client */;
  335. --
  336. -- Table structure for table `wonderful_content_cate`
  337. --
  338. DROP TABLE IF EXISTS `wonderful_content_cate`;
  339. /*!40101 SET @saved_cs_client = @@character_set_client */;
  340. /*!40101 SET character_set_client = utf8 */;
  341. CREATE TABLE `wonderful_content_cate` (
  342. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  343. `name` varchar(32) DEFAULT NULL COMMENT '栏目名称',
  344. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  345. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  346. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  347. PRIMARY KEY (`id`)
  348. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4;
  349. /*!40101 SET character_set_client = @saved_cs_client */;
  350. --
  351. -- Dumping data for table `wonderful_content_cate`
  352. --
  353. LOCK TABLES `wonderful_content_cate` WRITE;
  354. /*!40000 ALTER TABLE `wonderful_content_cate` DISABLE KEYS */;
  355. INSERT INTO `wonderful_content_cate` VALUES (1,'精美',6,1,1542000944),(2,'视频',5,1,1542002379),(3,'时尚',4,1,1542447602),(4,'美妆',3,1,1542447612),(5,'娱乐',2,1,1542447636),(6,'音乐',1,1,1542447653),(7,'生活',0,1,1542447678),(8,'test',1,2,1542447688);
  356. /*!40000 ALTER TABLE `wonderful_content_cate` ENABLE KEYS */;
  357. UNLOCK TABLES;
  358. --
  359. -- Table structure for table `wonderful_journal_active`
  360. --
  361. DROP TABLE IF EXISTS `wonderful_journal_active`;
  362. /*!40101 SET @saved_cs_client = @@character_set_client */;
  363. /*!40101 SET character_set_client = utf8 */;
  364. CREATE TABLE `wonderful_journal_active` (
  365. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  366. `info_id` int(11) NOT NULL DEFAULT '0' COMMENT '小刊',
  367. `status` int(11) NOT NULL DEFAULT '1' COMMENT '活动状态',
  368. `name` varchar(80) DEFAULT NULL COMMENT '活动标题',
  369. `start` int(11) NOT NULL DEFAULT '0' COMMENT '活动开始时间',
  370. `end` int(11) NOT NULL DEFAULT '0' COMMENT '活动结束时间',
  371. `desc` varchar(800) DEFAULT NULL COMMENT '活动描述',
  372. `invite_num` int(11) NOT NULL DEFAULT '10' COMMENT '邀请多少个好友开启免费阅读',
  373. `invite_score` int(11) NOT NULL DEFAULT '2' COMMENT '每邀请一个好友获得积分',
  374. `invite_title` varchar(80) DEFAULT NULL COMMENT '邀请好友标题',
  375. `invite_desc` varchar(800) DEFAULT NULL COMMENT '邀请好友标题介绍',
  376. `content` text COMMENT '活动规则说明',
  377. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  378. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  379. PRIMARY KEY (`id`)
  380. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  381. /*!40101 SET character_set_client = @saved_cs_client */;
  382. --
  383. -- Table structure for table `wonderful_journal_buy`
  384. --
  385. DROP TABLE IF EXISTS `wonderful_journal_buy`;
  386. /*!40101 SET @saved_cs_client = @@character_set_client */;
  387. /*!40101 SET character_set_client = utf8 */;
  388. CREATE TABLE `wonderful_journal_buy` (
  389. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  390. `info_id` int(11) NOT NULL DEFAULT '0' COMMENT '小刊',
  391. `buy_score` int(11) NOT NULL DEFAULT '20' COMMENT '每购买一本刊获得多少积分',
  392. `buy_title` varchar(80) DEFAULT NULL COMMENT '购买小刊标题',
  393. `buy_desc` varchar(800) DEFAULT NULL COMMENT '购买小刊介绍',
  394. `buy_content` text COMMENT '购买说明',
  395. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  396. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  397. PRIMARY KEY (`id`)
  398. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  399. /*!40101 SET character_set_client = @saved_cs_client */;
  400. --
  401. -- Table structure for table `wonderful_journal_buy_num`
  402. --
  403. DROP TABLE IF EXISTS `wonderful_journal_buy_num`;
  404. /*!40101 SET @saved_cs_client = @@character_set_client */;
  405. /*!40101 SET character_set_client = utf8 */;
  406. CREATE TABLE `wonderful_journal_buy_num` (
  407. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  408. `info_id` int(11) NOT NULL DEFAULT '0' COMMENT '小刊',
  409. `name` varchar(80) DEFAULT NULL COMMENT '购买名称-一般为“购买N本”,如购买1本',
  410. `price` varchar(50) DEFAULT NULL COMMENT '购买时的标价',
  411. `cash` varchar(50) DEFAULT NULL COMMENT '支付价格-实际支付价格,单位元,直接填写数字即可',
  412. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  413. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  414. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
  415. `score` varchar(80) NOT NULL COMMENT '增加积分数-直接填写购买当前本数设置,用户能获得的积分',
  416. `num` int(11) NOT NULL DEFAULT '1' COMMENT '购买本数-直接填写购买的小刊本数数字即可',
  417. PRIMARY KEY (`id`)
  418. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  419. /*!40101 SET character_set_client = @saved_cs_client */;
  420. --
  421. -- Table structure for table `wonderful_journal_cate`
  422. --
  423. DROP TABLE IF EXISTS `wonderful_journal_cate`;
  424. /*!40101 SET @saved_cs_client = @@character_set_client */;
  425. /*!40101 SET character_set_client = utf8 */;
  426. CREATE TABLE `wonderful_journal_cate` (
  427. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  428. `name` varchar(32) DEFAULT NULL COMMENT '分类名称',
  429. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  430. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  431. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  432. `title` varchar(32) NOT NULL COMMENT '页面TITLE-公众号支付中的页面标题',
  433. `cover` varchar(150) NOT NULL COMMENT '封面图-公众号支付中的封面图,图片尺寸460*759PX或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',
  434. `logo` varchar(150) NOT NULL COMMENT 'LOGO图-公众号支付中的LOGO图,图片尺寸100*100PX或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',
  435. `desc` text NOT NULL COMMENT '简介',
  436. PRIMARY KEY (`id`)
  437. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  438. /*!40101 SET character_set_client = @saved_cs_client */;
  439. --
  440. -- Dumping data for table `wonderful_journal_cate`
  441. --
  442. LOCK TABLES `wonderful_journal_cate` WRITE;
  443. /*!40000 ALTER TABLE `wonderful_journal_cate` DISABLE KEYS */;
  444. INSERT INTO `wonderful_journal_cate` VALUES (1,'Jstyle精美',1,1,1543592709,'默认','{uploadRes}1/2018/12/01/724f243ea0aa1a5da006c822b4131109.jpg','{uploadRes}1/2018/12/01/cac3f768ba3edd90b4fb64e35d6337c9.jpg','我的时尚生活');
  445. /*!40000 ALTER TABLE `wonderful_journal_cate` ENABLE KEYS */;
  446. UNLOCK TABLES;
  447. --
  448. -- Table structure for table `wonderful_journal_content`
  449. --
  450. DROP TABLE IF EXISTS `wonderful_journal_content`;
  451. /*!40101 SET @saved_cs_client = @@character_set_client */;
  452. /*!40101 SET character_set_client = utf8 */;
  453. CREATE TABLE `wonderful_journal_content` (
  454. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  455. `info_id` int(11) NOT NULL DEFAULT '0' COMMENT '小刊',
  456. `type` int(11) NOT NULL DEFAULT '3' COMMENT '类型',
  457. `name` varchar(80) DEFAULT NULL COMMENT '标题',
  458. `focus` text COMMENT '焦点图',
  459. `author_id` int(11) NOT NULL DEFAULT '1' COMMENT '作者',
  460. `content` text COMMENT '内容',
  461. `pic` varchar(150) DEFAULT NULL COMMENT '图片',
  462. `is_button` int(11) NOT NULL DEFAULT '1' COMMENT '是否显示保存按钮',
  463. `article_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联图文',
  464. `vod_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联视频',
  465. `live_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联直播',
  466. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '页号',
  467. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  468. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  469. `button_name` varchar(80) NOT NULL DEFAULT '保存图片' COMMENT '保存按钮文字内容',
  470. `button_color` varchar(10) NOT NULL DEFAULT '#000000' COMMENT '保存按钮文字颜色',
  471. `text` text NOT NULL COMMENT '文字设置',
  472. PRIMARY KEY (`id`)
  473. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  474. /*!40101 SET character_set_client = @saved_cs_client */;
  475. --
  476. -- Table structure for table `wonderful_journal_content_text`
  477. --
  478. DROP TABLE IF EXISTS `wonderful_journal_content_text`;
  479. /*!40101 SET @saved_cs_client = @@character_set_client */;
  480. /*!40101 SET character_set_client = utf8 */;
  481. CREATE TABLE `wonderful_journal_content_text` (
  482. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  483. `info_id` int(11) NOT NULL DEFAULT '0' COMMENT '小刊',
  484. `content_id` int(11) NOT NULL DEFAULT '0' COMMENT '小刊内页',
  485. `name` varchar(800) DEFAULT NULL COMMENT '文字内容',
  486. `location` int(11) NOT NULL DEFAULT '1' COMMENT '文字显示位置',
  487. `color` varchar(10) DEFAULT NULL COMMENT '文字颜色',
  488. `bgcolor` varchar(10) DEFAULT NULL COMMENT '背景颜色',
  489. `size` int(11) NOT NULL DEFAULT '16' COMMENT '文字大小-直接输入像素数字',
  490. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  491. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  492. PRIMARY KEY (`id`)
  493. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  494. /*!40101 SET character_set_client = @saved_cs_client */;
  495. --
  496. -- Table structure for table `wonderful_journal_info`
  497. --
  498. DROP TABLE IF EXISTS `wonderful_journal_info`;
  499. /*!40101 SET @saved_cs_client = @@character_set_client */;
  500. /*!40101 SET character_set_client = utf8 */;
  501. CREATE TABLE `wonderful_journal_info` (
  502. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  503. `name` varchar(180) DEFAULT NULL COMMENT '杂志标题',
  504. `subname` varchar(80) DEFAULT NULL COMMENT '子标题-一般为杂志的期数,如第1期',
  505. `pic_cover` varchar(150) DEFAULT NULL COMMENT '列表页封面图-4:3比例的图片',
  506. `pic_view_cover` varchar(150) DEFAULT NULL COMMENT '封面图-1:1比例的图片',
  507. `pic_view_bg` text COMMENT '全屏背景图-进入小刊阅读页之前的全屏背景图,可以多张切换,尽量保持在5张之内',
  508. `num_add_ding` int(11) NOT NULL DEFAULT '0' COMMENT '订阅数基数',
  509. `num_ding` int(11) NOT NULL DEFAULT '0' COMMENT '订阅数',
  510. `num_add_view` int(11) NOT NULL DEFAULT '0' COMMENT '阅读数基数',
  511. `num_view` int(11) NOT NULL DEFAULT '0' COMMENT '阅读数',
  512. `num_up` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢数',
  513. `num_comment` int(11) NOT NULL DEFAULT '0' COMMENT '评论数',
  514. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  515. `audit` int(11) NOT NULL DEFAULT '1' COMMENT '上线状态',
  516. `admin_founder` int(11) NOT NULL DEFAULT '1' COMMENT '创建人',
  517. `admin_editor` int(11) NOT NULL DEFAULT '1' COMMENT '操作人',
  518. `pdate` int(11) NOT NULL DEFAULT '0' COMMENT '发布时间',
  519. `share` text COMMENT '分享海报-选择海报库中的海报',
  520. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  521. `udate` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
  522. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  523. `num_add_up` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢基数',
  524. `status` int(11) NOT NULL DEFAULT '1' COMMENT '上线状态',
  525. `buy` int(11) NOT NULL DEFAULT '1' COMMENT '小刊是否收费',
  526. `share_yes` int(11) NOT NULL DEFAULT '1' COMMENT '是否显示分享按钮',
  527. `share_title` varchar(100) NOT NULL COMMENT '分享标题',
  528. `share_pic` varchar(150) NOT NULL COMMENT '分享图片',
  529. `share_content` varchar(200) NOT NULL COMMENT '分享内容',
  530. `pic_gd` varchar(150) NOT NULL COMMENT '小刊推广图-上传图片比例为750X1128PX',
  531. `cate_id` int(11) NOT NULL DEFAULT '1' COMMENT '小刊分类',
  532. `cash` varchar(50) NOT NULL COMMENT '单本支付价格-实际的小刊单本支付价格,单位元,直接填写数字即可',
  533. `score` varchar(80) NOT NULL DEFAULT '20' COMMENT '购买增加积分数-直接填写购买单本小刊的积分数,设置之后,积分规则里的设置将失效,如果设置为0,则按照积分规则进行增加积分',
  534. `dh_score` varchar(80) NOT NULL DEFAULT '20' COMMENT '兑换增加积分数-直接填写兑换单本小刊的积分数,设置之后,积分规则里的设置将失效,如果设置为0,则按照积分规则进行增加积分',
  535. PRIMARY KEY (`id`)
  536. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  537. /*!40101 SET character_set_client = @saved_cs_client */;
  538. --
  539. -- Table structure for table `wonderful_journal_order`
  540. --
  541. DROP TABLE IF EXISTS `wonderful_journal_order`;
  542. /*!40101 SET @saved_cs_client = @@character_set_client */;
  543. /*!40101 SET character_set_client = utf8 */;
  544. CREATE TABLE `wonderful_journal_order` (
  545. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  546. `order_id` varchar(100) DEFAULT NULL COMMENT '订单ID',
  547. `name` varchar(80) DEFAULT NULL COMMENT '订单名称',
  548. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户ID',
  549. `product_id` int(11) NOT NULL DEFAULT '0' COMMENT '小刊',
  550. `type` int(11) NOT NULL DEFAULT '1' COMMENT '支付方式',
  551. `notice` int(11) NOT NULL DEFAULT '0' COMMENT '模板消息提醒次数',
  552. `cash` varchar(50) DEFAULT NULL COMMENT '支付金额',
  553. `code` varchar(50) DEFAULT NULL COMMENT '使用的兑换码',
  554. `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '订单状态',
  555. `tk_time` int(11) NOT NULL DEFAULT '0' COMMENT '退款时间',
  556. `tk_admin` int(11) NOT NULL DEFAULT '1' COMMENT '退款审核人',
  557. `tk_desc` varchar(300) DEFAULT NULL COMMENT '退款备注',
  558. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  559. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '下单时间',
  560. `info` varchar(300) DEFAULT NULL COMMENT '备注',
  561. `mobile` varchar(300) DEFAULT NULL COMMENT '手机号',
  562. `source_uid` int(11) NOT NULL COMMENT '邀请人',
  563. `buy_id` int(11) NOT NULL COMMENT '购买本数',
  564. PRIMARY KEY (`id`)
  565. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  566. /*!40101 SET character_set_client = @saved_cs_client */;
  567. --
  568. -- Table structure for table `wonderful_live_active`
  569. --
  570. DROP TABLE IF EXISTS `wonderful_live_active`;
  571. /*!40101 SET @saved_cs_client = @@character_set_client */;
  572. /*!40101 SET character_set_client = utf8 */;
  573. CREATE TABLE `wonderful_live_active` (
  574. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  575. `name` varchar(300) DEFAULT NULL COMMENT '活动名称',
  576. `live_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属直播云',
  577. `status` int(11) NOT NULL DEFAULT '2' COMMENT '上线状态',
  578. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  579. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  580. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  581. PRIMARY KEY (`id`)
  582. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  583. /*!40101 SET character_set_client = @saved_cs_client */;
  584. --
  585. -- Table structure for table `wonderful_live_info`
  586. --
  587. DROP TABLE IF EXISTS `wonderful_live_info`;
  588. /*!40101 SET @saved_cs_client = @@character_set_client */;
  589. /*!40101 SET character_set_client = utf8 */;
  590. CREATE TABLE `wonderful_live_info` (
  591. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  592. `name` varchar(300) DEFAULT NULL COMMENT '配置名称',
  593. `type` int(11) NOT NULL DEFAULT '1' COMMENT '所属云',
  594. `space` varchar(300) DEFAULT NULL COMMENT '云空间名-请提前建好云空间,后续会迭代优化,增加云空间的创建和更新,本版本暂时使用已经创建好的云空间',
  595. `appkey` varchar(80) DEFAULT NULL COMMENT 'APPKEY',
  596. `appsecret` varchar(200) DEFAULT NULL COMMENT 'APPSECRET',
  597. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  598. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  599. `domain_publish` varchar(200) NOT NULL COMMENT '推流域名',
  600. `domain_live_rtmp` varchar(200) NOT NULL COMMENT '高清直播域名',
  601. `domain_live_hls` varchar(200) NOT NULL COMMENT '标清直播域名',
  602. `domain_live_hdl` varchar(200) NOT NULL COMMENT '普清直播域名',
  603. `domain_live_pic` varchar(200) NOT NULL COMMENT '直播截图域名',
  604. `host` varchar(800) NOT NULL COMMENT '存储空间域名',
  605. PRIMARY KEY (`id`)
  606. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  607. /*!40101 SET character_set_client = @saved_cs_client */;
  608. --
  609. -- Dumping data for table `wonderful_live_info`
  610. --
  611. LOCK TABLES `wonderful_live_info` WRITE;
  612. /*!40000 ALTER TABLE `wonderful_live_info` DISABLE KEYS */;
  613. INSERT INTO `wonderful_live_info` VALUES (1,'七牛云',1,'jstylezhibo','GYeUlvzvJdJ5qZKg6gP_bdgV6eXEiRqFQDB6x6pI','oAkB8PBEwephCigdApKSM3sPvXvEPLYcuioXh09Z',1,1542001040,'pili-publish.jstyle.cn','pili-live-rtmp.jstyle.cn','pili-live-hls.jstyle.cn','pili-live-hdl.jstyle.cn','pili-live-snapshot.jstyle.cn','http://7.jstyle.cn/');
  614. /*!40000 ALTER TABLE `wonderful_live_info` ENABLE KEYS */;
  615. UNLOCK TABLES;
  616. --
  617. -- Table structure for table `wonderful_live_stream`
  618. --
  619. DROP TABLE IF EXISTS `wonderful_live_stream`;
  620. /*!40101 SET @saved_cs_client = @@character_set_client */;
  621. /*!40101 SET character_set_client = utf8 */;
  622. CREATE TABLE `wonderful_live_stream` (
  623. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  624. `live_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属直播云',
  625. `active_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属活动',
  626. `name` varchar(300) DEFAULT NULL COMMENT '流名称',
  627. `key` varchar(300) DEFAULT NULL COMMENT '流标识-流标识在直播空间中唯一,可包含 字母、数字、中划线、下划线;1 ~ 200 个字符长,对应云上的流名称。\r\n',
  628. `times` varchar(30) DEFAULT NULL COMMENT '直播时长-直接输入小时数,默认为100天',
  629. `status` int(11) NOT NULL DEFAULT '1' COMMENT '流状态',
  630. `live_date` int(11) NOT NULL DEFAULT '0' COMMENT '上次获取推流地址的时间',
  631. `live` varchar(800) DEFAULT NULL COMMENT '推流地址',
  632. `url_rtmp` varchar(800) DEFAULT NULL COMMENT '高清地址',
  633. `url_hls` varchar(800) DEFAULT NULL COMMENT '标清地址',
  634. `url_hdl` varchar(800) DEFAULT NULL COMMENT '普清地址',
  635. `url_pic` varchar(800) DEFAULT NULL COMMENT '直播截图地址',
  636. `info` text COMMENT '直播信息',
  637. `disabled` int(11) NOT NULL DEFAULT '1' COMMENT '禁播流',
  638. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  639. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  640. PRIMARY KEY (`id`)
  641. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  642. /*!40101 SET character_set_client = @saved_cs_client */;
  643. --
  644. -- Table structure for table `wonderful_live_stream_ios_log`
  645. --
  646. DROP TABLE IF EXISTS `wonderful_live_stream_ios_log`;
  647. /*!40101 SET @saved_cs_client = @@character_set_client */;
  648. /*!40101 SET character_set_client = utf8 */;
  649. CREATE TABLE `wonderful_live_stream_ios_log` (
  650. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  651. `live_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属直播云',
  652. `active_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属活动',
  653. `stream_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属直播流',
  654. `sdate` int(11) NOT NULL DEFAULT '0' COMMENT '开始时间',
  655. `edate` int(11) NOT NULL DEFAULT '0' COMMENT '结束时间',
  656. `url_m3u8` varchar(800) DEFAULT NULL COMMENT '直播回放地址',
  657. `url_mp4` varchar(800) DEFAULT NULL COMMENT '直播回放地址',
  658. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  659. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  660. PRIMARY KEY (`id`)
  661. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  662. /*!40101 SET character_set_client = @saved_cs_client */;
  663. --
  664. -- Table structure for table `wonderful_live_stream_log`
  665. --
  666. DROP TABLE IF EXISTS `wonderful_live_stream_log`;
  667. /*!40101 SET @saved_cs_client = @@character_set_client */;
  668. /*!40101 SET character_set_client = utf8 */;
  669. CREATE TABLE `wonderful_live_stream_log` (
  670. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  671. `live_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属直播云',
  672. `active_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属活动',
  673. `stream_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属直播流',
  674. `sdate` int(11) NOT NULL DEFAULT '0' COMMENT '开始时间',
  675. `edate` int(11) NOT NULL DEFAULT '0' COMMENT '结束时间',
  676. `url_m3u8` varchar(800) DEFAULT NULL COMMENT '直播回放地址',
  677. `url_mp4` varchar(800) DEFAULT NULL COMMENT '直播回放地址',
  678. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  679. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  680. PRIMARY KEY (`id`)
  681. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  682. /*!40101 SET character_set_client = @saved_cs_client */;
  683. --
  684. -- Table structure for table `wonderful_main_config`
  685. --
  686. DROP TABLE IF EXISTS `wonderful_main_config`;
  687. /*!40101 SET @saved_cs_client = @@character_set_client */;
  688. /*!40101 SET character_set_client = utf8 */;
  689. CREATE TABLE `wonderful_main_config` (
  690. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '系统ID',
  691. `name` varchar(32) DEFAULT NULL COMMENT '系统名称',
  692. `info` text COMMENT '系统介绍',
  693. `logo` varchar(150) DEFAULT NULL COMMENT 'LOGO图片',
  694. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  695. `article_share_name` varchar(100) NOT NULL DEFAULT '喜欢就邀请好友一起阅读' COMMENT '图文详情页分享文字设置',
  696. `vod_share_name` varchar(100) NOT NULL DEFAULT '喜欢就邀请好友一起阅读' COMMENT '视频详情页分享文字设置',
  697. `live_share_name` varchar(100) NOT NULL DEFAULT '喜欢就邀请好友一起阅读' COMMENT '直播详情页分享文字设置',
  698. `ios_pay` int(11) NOT NULL DEFAULT '1' COMMENT 'IOS支付设置',
  699. `ios_pay_pic` varchar(150) NOT NULL COMMENT 'IOS支付引导图-IOS支付引导图',
  700. `service_name` varchar(100) NOT NULL COMMENT '公众号名称',
  701. `service_text` varchar(100) NOT NULL DEFAULT 'JSTYLE精美电子刊' COMMENT '公众号支付成功时的小程序名称',
  702. PRIMARY KEY (`id`)
  703. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  704. /*!40101 SET character_set_client = @saved_cs_client */;
  705. --
  706. -- Dumping data for table `wonderful_main_config`
  707. --
  708. LOCK TABLES `wonderful_main_config` WRITE;
  709. /*!40000 ALTER TABLE `wonderful_main_config` DISABLE KEYS */;
  710. INSERT INTO `wonderful_main_config` VALUES (1,'Jstyle精美','风格,灵感,态度,JSTYLE 精美——我的时尚指南','',1542006576,'喜欢就邀请好友一起阅读','喜欢就邀请好友一起看','喜欢就邀请好友一起看',2,'{uploadRes}1/2018/12/01/7488e6a0f2a822cdbe0a2f6058121cbe.jpg','jstylecn','JSTYLE精美');
  711. /*!40000 ALTER TABLE `wonderful_main_config` ENABLE KEYS */;
  712. UNLOCK TABLES;
  713. --
  714. -- Table structure for table `wonderful_manage_admin`
  715. --
  716. DROP TABLE IF EXISTS `wonderful_manage_admin`;
  717. /*!40101 SET @saved_cs_client = @@character_set_client */;
  718. /*!40101 SET character_set_client = utf8 */;
  719. CREATE TABLE `wonderful_manage_admin` (
  720. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '管理员ID',
  721. `username` varchar(24) DEFAULT NULL COMMENT '管理员名',
  722. `email` varchar(150) DEFAULT NULL COMMENT '邮箱-可用于登录,请准确填写,不允许重复',
  723. `mobile` varchar(32) DEFAULT NULL COMMENT '手机号',
  724. `password` varchar(64) DEFAULT NULL COMMENT '管理员密码',
  725. `config` int(11) NOT NULL DEFAULT '1' COMMENT '后台配置',
  726. `role` varchar(100) DEFAULT NULL COMMENT '角色',
  727. `group` int(11) NOT NULL DEFAULT '1' COMMENT '分组',
  728. `top` text COMMENT '头部菜单-这里的头部菜单如果设置,则会覆盖角色中的头部菜单',
  729. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '数据状态',
  730. `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  731. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  732. PRIMARY KEY (`id`)
  733. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
  734. /*!40101 SET character_set_client = @saved_cs_client */;
  735. --
  736. -- Dumping data for table `wonderful_manage_admin`
  737. --
  738. LOCK TABLES `wonderful_manage_admin` WRITE;
  739. /*!40000 ALTER TABLE `wonderful_manage_admin` DISABLE KEYS */;
  740. INSERT INTO `wonderful_manage_admin` VALUES (1,'admin@admin.com','admin@admin.com',NULL,'8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92',1,'1',1,NULL,1,1,1542000852),(2,'孟','mengyu@meixiaokan.com','18712331230','8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92',1,'3',1,NULL,1,2,1542459209);
  741. /*!40000 ALTER TABLE `wonderful_manage_admin` ENABLE KEYS */;
  742. UNLOCK TABLES;
  743. --
  744. -- Table structure for table `wonderful_manage_admin_role`
  745. --
  746. DROP TABLE IF EXISTS `wonderful_manage_admin_role`;
  747. /*!40101 SET @saved_cs_client = @@character_set_client */;
  748. /*!40101 SET character_set_client = utf8 */;
  749. CREATE TABLE `wonderful_manage_admin_role` (
  750. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  751. `admin_id` int(11) NOT NULL DEFAULT '0' COMMENT '管理员ID',
  752. `role_id` int(11) NOT NULL DEFAULT '0' COMMENT '角色ID',
  753. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  754. PRIMARY KEY (`id`)
  755. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  756. /*!40101 SET character_set_client = @saved_cs_client */;
  757. --
  758. -- Dumping data for table `wonderful_manage_admin_role`
  759. --
  760. LOCK TABLES `wonderful_manage_admin_role` WRITE;
  761. /*!40000 ALTER TABLE `wonderful_manage_admin_role` DISABLE KEYS */;
  762. /*!40000 ALTER TABLE `wonderful_manage_admin_role` ENABLE KEYS */;
  763. UNLOCK TABLES;
  764. --
  765. -- Table structure for table `wonderful_manage_auth`
  766. --
  767. DROP TABLE IF EXISTS `wonderful_manage_auth`;
  768. /*!40101 SET @saved_cs_client = @@character_set_client */;
  769. /*!40101 SET character_set_client = utf8 */;
  770. CREATE TABLE `wonderful_manage_auth` (
  771. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  772. `project` varchar(50) DEFAULT NULL COMMENT '项目KEY',
  773. `project_name` varchar(50) DEFAULT NULL COMMENT '项目名',
  774. `name` varchar(50) DEFAULT NULL COMMENT '权限名',
  775. `auth_id` int(11) NOT NULL DEFAULT '-1' COMMENT '上级权限',
  776. `key` varchar(100) DEFAULT NULL COMMENT '权限KEY',
  777. `value` varchar(30) DEFAULT NULL COMMENT '对应的值',
  778. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  779. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  780. PRIMARY KEY (`id`)
  781. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  782. /*!40101 SET character_set_client = @saved_cs_client */;
  783. --
  784. -- Dumping data for table `wonderful_manage_auth`
  785. --
  786. LOCK TABLES `wonderful_manage_auth` WRITE;
  787. /*!40000 ALTER TABLE `wonderful_manage_auth` DISABLE KEYS */;
  788. /*!40000 ALTER TABLE `wonderful_manage_auth` ENABLE KEYS */;
  789. UNLOCK TABLES;
  790. --
  791. -- Table structure for table `wonderful_manage_config`
  792. --
  793. DROP TABLE IF EXISTS `wonderful_manage_config`;
  794. /*!40101 SET @saved_cs_client = @@character_set_client */;
  795. /*!40101 SET character_set_client = utf8 */;
  796. CREATE TABLE `wonderful_manage_config` (
  797. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '配置ID',
  798. `name` varchar(32) DEFAULT NULL COMMENT '配置名',
  799. `template` int(1) NOT NULL DEFAULT '1' COMMENT '后台模板',
  800. `title` varchar(32) DEFAULT NULL COMMENT '后台TITLE',
  801. `info` varchar(40) DEFAULT NULL COMMENT '控制台欢迎标题',
  802. `content` text COMMENT '控制台欢迎内容',
  803. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  804. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  805. PRIMARY KEY (`id`)
  806. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  807. /*!40101 SET character_set_client = @saved_cs_client */;
  808. --
  809. -- Dumping data for table `wonderful_manage_config`
  810. --
  811. LOCK TABLES `wonderful_manage_config` WRITE;
  812. /*!40000 ALTER TABLE `wonderful_manage_config` DISABLE KEYS */;
  813. INSERT INTO `wonderful_manage_config` VALUES (1,'默认配置',1,'精美时尚','','',1,1542000853);
  814. /*!40000 ALTER TABLE `wonderful_manage_config` ENABLE KEYS */;
  815. UNLOCK TABLES;
  816. --
  817. -- Table structure for table `wonderful_manage_cron`
  818. --
  819. DROP TABLE IF EXISTS `wonderful_manage_cron`;
  820. /*!40101 SET @saved_cs_client = @@character_set_client */;
  821. /*!40101 SET character_set_client = utf8 */;
  822. CREATE TABLE `wonderful_manage_cron` (
  823. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  824. `name` varchar(32) DEFAULT NULL COMMENT '任务名',
  825. `project` varchar(30) DEFAULT NULL COMMENT '项目',
  826. `interface` varchar(100) DEFAULT NULL COMMENT '接口(命令行)',
  827. `ldate` int(11) NOT NULL DEFAULT '0' COMMENT '执行时间',
  828. `time` int(11) NOT NULL DEFAULT '0' COMMENT '时间间隔(为0则执行一次)',
  829. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  830. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  831. PRIMARY KEY (`id`)
  832. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
  833. /*!40101 SET character_set_client = @saved_cs_client */;
  834. --
  835. -- Dumping data for table `wonderful_manage_cron`
  836. --
  837. LOCK TABLES `wonderful_manage_cron` WRITE;
  838. /*!40000 ALTER TABLE `wonderful_manage_cron` DISABLE KEYS */;
  839. INSERT INTO `wonderful_manage_cron` VALUES (1,'定时获取直播流状态','live','lib/cron.getStream',1543889941,3000,1,1542106471),(2,'定时获取公众号数据','spider','lib/get.wechat',1543890237,1000,1,1542592606),(3,'获取回放地址','live','lib/cron.getUrl',1543890104,800,1,1542698116);
  840. /*!40000 ALTER TABLE `wonderful_manage_cron` ENABLE KEYS */;
  841. UNLOCK TABLES;
  842. --
  843. -- Table structure for table `wonderful_manage_group`
  844. --
  845. DROP TABLE IF EXISTS `wonderful_manage_group`;
  846. /*!40101 SET @saved_cs_client = @@character_set_client */;
  847. /*!40101 SET character_set_client = utf8 */;
  848. CREATE TABLE `wonderful_manage_group` (
  849. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '组ID',
  850. `name` varchar(50) DEFAULT NULL COMMENT '组名称',
  851. `area` varchar(255) DEFAULT NULL COMMENT '区域',
  852. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  853. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  854. PRIMARY KEY (`id`)
  855. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4;
  856. /*!40101 SET character_set_client = @saved_cs_client */;
  857. --
  858. -- Dumping data for table `wonderful_manage_group`
  859. --
  860. LOCK TABLES `wonderful_manage_group` WRITE;
  861. /*!40000 ALTER TABLE `wonderful_manage_group` DISABLE KEYS */;
  862. INSERT INTO `wonderful_manage_group` VALUES (1,'平台运营部',NULL,1,1542000853),(2,'内容制作部',NULL,1,1542459460),(3,'产品技术部',NULL,1,1542592716),(4,'市场部',NULL,1,1542592725),(5,'销售部',NULL,1,1542702771),(6,'人行财法部',NULL,1,1542702821),(7,'管理部',NULL,1,1542702863),(8,'产品技术',NULL,2,1542702877);
  863. /*!40000 ALTER TABLE `wonderful_manage_group` ENABLE KEYS */;
  864. UNLOCK TABLES;
  865. --
  866. -- Table structure for table `wonderful_manage_log`
  867. --
  868. DROP TABLE IF EXISTS `wonderful_manage_log`;
  869. /*!40101 SET @saved_cs_client = @@character_set_client */;
  870. /*!40101 SET character_set_client = utf8 */;
  871. CREATE TABLE `wonderful_manage_log` (
  872. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  873. `project` varchar(32) DEFAULT NULL COMMENT '项目名',
  874. `table` varchar(32) DEFAULT NULL COMMENT '项目下的表名',
  875. `info` longtext COMMENT '日志记录',
  876. `admin` int(11) NOT NULL DEFAULT '0' COMMENT '操作人',
  877. `tid` int(11) NOT NULL DEFAULT '0' COMMENT '来源表ID',
  878. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  879. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '操作时间',
  880. PRIMARY KEY (`id`)
  881. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  882. /*!40101 SET character_set_client = @saved_cs_client */;
  883. --
  884. -- Table structure for table `wonderful_manage_menu`
  885. --
  886. DROP TABLE IF EXISTS `wonderful_manage_menu`;
  887. /*!40101 SET @saved_cs_client = @@character_set_client */;
  888. /*!40101 SET character_set_client = utf8 */;
  889. CREATE TABLE `wonderful_manage_menu` (
  890. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  891. `name` varchar(50) DEFAULT NULL COMMENT '菜单名称',
  892. `menu_id` int(11) NOT NULL DEFAULT '-1' COMMENT '上级菜单',
  893. `key` varchar(100) DEFAULT NULL COMMENT '菜单唯一KEY',
  894. `link` varchar(150) DEFAULT NULL COMMENT '链接(或路径)',
  895. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序',
  896. `type` tinyint(1) NOT NULL DEFAULT '2' COMMENT '开启子菜单',
  897. `icon` varchar(100) DEFAULT NULL COMMENT '图标代码-请<A HREF="HTTPS://WWW.LAYUI.COM/DOC/ELEMENT/ICON.HTML" TARGET="_BLANK">点此</A>查看图标代码',
  898. `fast` tinyint(1) NOT NULL DEFAULT '2' COMMENT '是否快捷菜单',
  899. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  900. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  901. PRIMARY KEY (`id`)
  902. ) ENGINE=InnoDB AUTO_INCREMENT=72 DEFAULT CHARSET=utf8mb4;
  903. /*!40101 SET character_set_client = @saved_cs_client */;
  904. --
  905. -- Dumping data for table `wonderful_manage_menu`
  906. --
  907. LOCK TABLES `wonderful_manage_menu` WRITE;
  908. /*!40000 ALTER TABLE `wonderful_manage_menu` DISABLE KEYS */;
  909. INSERT INTO `wonderful_manage_menu` VALUES (1,'主页',-1,'console','console:主页',10000,2,'layui-icon-home',2,1,1542000853),(2,'控制台',1,'console.index','http://www.huoxingkandiqiu.com/wonderful/manage/?l=console',10,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(3,'后台设置',-1,'manage','/share/lib/php/dever_package/manage/:后台设置',-100,2,'glyphicon glyphicon-wrench layui-icon-set-sm',2,1,1542000853),(4,'管理账户设置',3,'manage.admin','project/database/list?project=manage&table=admin&menu=manage&search_option_state=1',9,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(5,'后台个性化',3,'manage.config','project/database/list?project=manage&table=config&menu=manage&search_option_state=1',10,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(6,'计划任务',3,'manage.cron','project/database/list?project=manage&table=cron&menu=manage&search_option_state=1',1,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(7,'管理组设置',3,'manage.group','project/database/list?project=manage&table=group&menu=manage&search_option_state=1',8,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(8,'管理操作日志',3,'manage.log','project/database/list?project=manage&table=log&menu=manage&search_option_state=1',1,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(9,'管理菜单设置',3,'manage.menu','project/database/list?project=manage&table=menu&menu=manage&search_option_state=1',2,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(10,'后台公告管理',3,'manage.notice','project/database/list?project=manage&table=notice&menu=manage&search_option_state=1',7,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(11,'字段记录表',3,'manage.opt','project/database/list?project=manage&table=opt&menu=manage&search_option_state=1',1,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(12,'管理角色设置',3,'manage.role','project/database/list?project=manage&table=role&menu=manage&search_option_state=1',8,2,'glyphicon glyphicon-folder-close',2,1,1542000853),(13,'内容管理',-1,'content','/www/wonderful/content/:内容管理',200,2,'glyphicon glyphicon-tower layui-icon-tabs',2,1,1542000873),(14,'图文管理',13,'content.article','project/database/list?project=content&table=article&menu=content&search_option_state=1',100,2,'glyphicon glyphicon-folder-close',2,1,1542000873),(15,'作者管理',13,'content.author','project/database/list?project=content&table=author&menu=content&search_option_state=1',8,2,'glyphicon glyphicon-folder-close',2,1,1542000873),(16,'栏目设置',13,'content.cate','project/database/list?project=content&table=cate&menu=content&search_option_state=1',9,2,'glyphicon glyphicon-folder-close',2,1,1542000873),(17,'管理推荐位',-1,'push','/www/wonderful/push/:管理推荐位',199,2,'glyphicon glyphicon-tower layui-icon-template-1',2,1,1542000876),(18,'推送数据管理',17,'push.data','project/database/list?project=push&table=data&menu=push&search_option_state=1&search_option_info_id=1',20,2,'glyphicon glyphicon-folder-close',2,1,1542000876),(19,'推荐位置管理',17,'push.info','project/database/list?project=push&table=info&menu=push&search_option_state=1',10,2,'glyphicon glyphicon-folder-close',2,1,1542000876),(20,'小刊',-1,'journal','/www/wonderful/journal/:小刊',190,2,'glyphicon glyphicon-tower layui-icon-cellphone-fine',2,1,1542000878),(21,'小刊管理',20,'journal.info','project/database/list?project=journal&table=info&menu=journal&search_option_state=1',100,2,'glyphicon glyphicon-folder-close',2,1,1542000878),(22,'订单管理',20,'journal.order','project/database/list?project=journal&table=order&menu=journal&search_option_state=1',1,2,'glyphicon glyphicon-folder-close',2,1,1542000878),(23,'互动管理',-1,'act','/www/wonderful/act/:互动管理',199,2,'glyphicon glyphicon-tower layui-icon-theme',2,1,1542000888),(24,'评论管理',23,'act.comment','project/database/list?project=act&table=comment&menu=act&search_option_state=1',80,2,'glyphicon glyphicon-folder-close',2,1,1542000888),(25,'喜欢日志',23,'act.like','project/database/list?project=act&table=like&menu=act&search_option_state=1',79,2,'glyphicon glyphicon-folder-close',2,1,1542000888),(26,'直播留言管理',23,'act.live_comment','project/database/list?project=act&table=live_comment&menu=act&search_option_state=1',70,2,'glyphicon glyphicon-folder-close',2,1,1542000888),(27,'分享日志',23,'act.share','project/database/list?project=act&table=share&menu=act&search_option_state=1',78,2,'glyphicon glyphicon-folder-close',2,1,1542000888),(28,'审核管理',13,'content.audit.data','project/database/list?project=audit&table=data&menu=content&search_option_state=1',7,2,'glyphicon glyphicon-folder-close',2,1,1542000890),(29,'直播管理',-1,'live','/www/wonderful/live/:直播管理',194,2,'glyphicon glyphicon-tower layui-icon-camera',2,2,1542000907),(30,'直播云配置',32,'live.info','project/database/list?project=live&table=info&menu=live&search_option_state=1',9,2,'glyphicon glyphicon-folder-close',2,1,1542000907),(31,'直播流管理',32,'live.stream','project/database/list?project=live&table=stream&menu=live&search_option_state=1',2,2,'glyphicon glyphicon-folder-close',2,1,1542000907),(32,'视频与直播',-1,'video','/www/wonderful/video/:视频与直播',195,2,'glyphicon glyphicon-tower layui-icon-video',2,1,1542000909),(33,'直播视频管理',32,'video.live','project/database/list?project=video&table=live&menu=video&search_option_state=1',99,2,'glyphicon glyphicon-folder-close',2,1,1542000909),(34,'点播视频管理',32,'video.vod','project/database/list?project=video&table=vod&menu=video&search_option_state=1',100,2,'glyphicon glyphicon-folder-close',2,1,1542000909),(35,'标签管理',-1,'tag','/www/wonderful/tag/:标签管理',199,2,'glyphicon glyphicon-tower layui-icon-rate-solid',2,2,1542000914),(36,'标签分类设置',13,'tag.cate','project/database/list?project=tag&table=cate&menu=tag&search_option_state=1',49,2,'glyphicon glyphicon-folder-close',2,1,1542000914),(37,'标签管理',13,'tag.info','project/database/list?project=tag&table=info&menu=tag&search_option_state=1',50,2,'glyphicon glyphicon-folder-close',2,1,1542000914),(38,'基础设置',-1,'main','/www/wonderful/main/:基础设置',98,2,'glyphicon glyphicon-tower layui-icon-component',2,2,1542000926),(39,'基本配置',3,'main.config','project/database/list?project=main&table=config&menu=main&search_option_state=1',1,2,'glyphicon glyphicon-folder-close',2,1,1542000926),(40,'直播活动',32,'live.active','project/database/list?project=live&table=active&menu=live&search_option_state=1',20,2,'glyphicon glyphicon-folder-close',2,1,1542080323),(41,'兑换码列表',20,'journal.code.info','project/database/list?project=code&table=info&menu=journal&search_option_state=1',1,2,'glyphicon glyphicon-folder-close',2,1,1542090288),(42,'用户管理',-1,'passport','/share/lib/php/dever_package/passport/:用户管理',-10,2,'glyphicon glyphicon-user layui-icon-username',2,1,1542102504),(43,'等级设置',42,'passport.level','project/database/list?project=passport&table=level&menu=passport&search_option_state=1',8,2,'glyphicon glyphicon-folder-close',2,2,1542102504),(44,'用户管理',42,'passport.user','project/database/list?project=passport&table=user&menu=passport&search_option_state=1',10,2,'glyphicon glyphicon-folder-close',2,1,1542102504),(45,'直播提醒用户',23,'act.live_note','project/database/list?project=act&table=live_note&menu=act&search_option_state=1',69,2,'glyphicon glyphicon-folder-close',2,1,1542592490),(46,'合作内容入库',-1,'spider','/www/wonderful/spider/:合作内容入库',100,2,'glyphicon glyphicon-tower layui-icon-tree',2,1,1542592490),(47,'文章列表',46,'spider.data','project/database/list?project=spider&table=data&menu=spider&search_option_state=1',100,2,'glyphicon glyphicon-folder-close',2,1,1542592490),(48,'公众号管理',46,'spider.wechat','project/database/list?project=spider&table=wechat&menu=spider&search_option_state=1',10,2,'glyphicon glyphicon-folder-close',2,1,1542592490),(49,'订阅日志',23,'act.subscribe','project/database/list?project=act&table=subscribe&menu=act&search_option_state=1',68,2,'glyphicon glyphicon-folder-close',2,1,1542722821),(50,'消息系统',-1,'message','/share/lib/php/dever_package/message/:消息系统',-6,2,'glyphicon glyphicon-dashboard layui-icon-senior',2,2,1542722821),(51,'收件箱',50,'message.inbox','project/database/list?project=message&table=inbox&menu=message&search_option_state=1',18,2,'glyphicon glyphicon-folder-close',2,1,1542722821),(52,'发件箱',50,'message.outbox','project/database/list?project=message&table=outbox&menu=message&search_option_state=1',19,2,'glyphicon glyphicon-folder-close',2,1,1542722821),(53,'消息类型',50,'message.type','project/database/list?project=message&table=type&menu=message&search_option_state=1',20,2,'glyphicon glyphicon-folder-close',2,1,1542722821),(54,'用户积分列表',42,'passport.score.user','project/database/list?project=score&table=user&menu=passport&search_option_state=1',100,2,'glyphicon glyphicon-folder-close',2,1,1543106717),(55,'用户积分等级',42,'passport.score.user_level','project/database/list?project=score&table=user_level&menu=passport&search_option_state=1',99,2,'glyphicon glyphicon-folder-close',2,1,1543106717),(56,'平台运营设置',-1,'score','/www/wonderful/score/:平台运营设置',1,2,'glyphicon glyphicon-credit-card layui-icon-chat',2,1,1543106717),(57,'用户行为配置',56,'score.action','project/database/list?project=score&table=action&menu=score&search_option_state=1',10,2,'glyphicon glyphicon-folder-close',2,1,1543106717),(58,'积分名称设置',56,'score.config','project/database/list?project=score&table=config&menu=score&search_option_state=1',1,2,'glyphicon glyphicon-folder-close',2,1,1543106717),(59,'积分等级设置',56,'score.level','project/database/list?project=score&table=level&menu=score&search_option_state=1',8,2,'glyphicon glyphicon-folder-close',2,1,1543106717),(60,'资源库',-1,'upload','/share/lib/php/dever_package/upload/:资源库',-90,2,'glyphicon glyphicon-upload layui-icon-picture',2,2,1543226512),(61,'资源分类',60,'upload.cate','project/database/list?project=upload&table=cate&menu=upload&search_option_state=1',99,2,'glyphicon glyphicon-folder-close',2,1,1543226512),(62,'资源列表',60,'upload.file','project/database/list?project=upload&table=file&menu=upload&search_option_state=1',9,2,'glyphicon glyphicon-folder-close',2,1,1543226512),(63,'资源配置',60,'upload.upload','project/database/list?project=upload&table=upload&menu=upload&search_option_state=1',100,2,'glyphicon glyphicon-folder-close',2,1,1543226512),(64,'云端配置',60,'upload.yun','project/database/list?project=upload&table=yun&menu=upload&search_option_state=1',1,2,'glyphicon glyphicon-folder-close',2,1,1543226512),(65,'海报管理',-1,'poster','/share/lib/php/dever_package/poster/:海报管理',-2,2,'glyphicon glyphicon-warning-sign layui-icon-template',2,2,1543226512),(66,'海报模板设置',56,'poster.template','project/database/list?project=poster&table=template&menu=poster&search_option_state=1',20,2,'glyphicon glyphicon-folder-close',2,2,1543226512),(67,'小刊分类设置',20,'journal.cate','project/database/list?project=journal&table=cate&menu=journal&search_option_state=1',9,2,'glyphicon glyphicon-folder-close',2,1,1543714155),(68,'第三方登录',-1,'oauth','/share/lib/php/dever_package/oauth/:第三方登录',1,2,'glyphicon glyphicon-filter layui-icon-group',2,2,1543753702),(69,'第三方管理',68,'oauth.account','project/database/list?project=oauth&table=account&menu=oauth&search_option_state=1',10,2,'glyphicon glyphicon-folder-close',2,1,1543753702),(70,'短信管理',-1,'sms','/share/lib/php/dever_package/sms/:短信管理',-10,2,'glyphicon glyphicon-list-alt layui-icon-note',2,1,1543889040),(71,'基本配置',70,'sms.config','project/database/list?project=sms&table=config&menu=sms&search_option_state=1',20,2,'glyphicon glyphicon-folder-close',2,1,1543889040);
  910. /*!40000 ALTER TABLE `wonderful_manage_menu` ENABLE KEYS */;
  911. UNLOCK TABLES;
  912. --
  913. -- Table structure for table `wonderful_manage_notice`
  914. --
  915. DROP TABLE IF EXISTS `wonderful_manage_notice`;
  916. /*!40101 SET @saved_cs_client = @@character_set_client */;
  917. /*!40101 SET character_set_client = utf8 */;
  918. CREATE TABLE `wonderful_manage_notice` (
  919. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  920. `name` varchar(32) DEFAULT NULL COMMENT '公告标题',
  921. `config` int(11) NOT NULL DEFAULT '1' COMMENT '后台配置',
  922. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  923. `content` text COMMENT '内容',
  924. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  925. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  926. PRIMARY KEY (`id`)
  927. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  928. /*!40101 SET character_set_client = @saved_cs_client */;
  929. --
  930. -- Dumping data for table `wonderful_manage_notice`
  931. --
  932. LOCK TABLES `wonderful_manage_notice` WRITE;
  933. /*!40000 ALTER TABLE `wonderful_manage_notice` DISABLE KEYS */;
  934. /*!40000 ALTER TABLE `wonderful_manage_notice` ENABLE KEYS */;
  935. UNLOCK TABLES;
  936. --
  937. -- Table structure for table `wonderful_manage_opt`
  938. --
  939. DROP TABLE IF EXISTS `wonderful_manage_opt`;
  940. /*!40101 SET @saved_cs_client = @@character_set_client */;
  941. /*!40101 SET character_set_client = utf8 */;
  942. CREATE TABLE `wonderful_manage_opt` (
  943. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  944. `project` varchar(30) DEFAULT NULL COMMENT '项目',
  945. `table` varchar(30) DEFAULT NULL COMMENT '数据表-请输入表的英文名',
  946. `method` varchar(32) DEFAULT NULL COMMENT '所属方法名',
  947. `col` varchar(500) DEFAULT NULL COMMENT '使用的字段',
  948. `col_index` varchar(500) DEFAULT NULL COMMENT '建立索引的字段',
  949. `version` int(11) NOT NULL DEFAULT '0' COMMENT '版本号',
  950. `num` int(11) NOT NULL DEFAULT '0' COMMENT '执行次数',
  951. `time` varchar(30) DEFAULT NULL COMMENT '执行时间',
  952. `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否建立索引',
  953. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '数据是否存在',
  954. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  955. PRIMARY KEY (`id`)
  956. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  957. /*!40101 SET character_set_client = @saved_cs_client */;
  958. --
  959. -- Dumping data for table `wonderful_manage_opt`
  960. --
  961. LOCK TABLES `wonderful_manage_opt` WRITE;
  962. /*!40000 ALTER TABLE `wonderful_manage_opt` DISABLE KEYS */;
  963. /*!40000 ALTER TABLE `wonderful_manage_opt` ENABLE KEYS */;
  964. UNLOCK TABLES;
  965. --
  966. -- Table structure for table `wonderful_manage_role`
  967. --
  968. DROP TABLE IF EXISTS `wonderful_manage_role`;
  969. /*!40101 SET @saved_cs_client = @@character_set_client */;
  970. /*!40101 SET character_set_client = utf8 */;
  971. CREATE TABLE `wonderful_manage_role` (
  972. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  973. `name` varchar(24) DEFAULT NULL COMMENT '角色名',
  974. `role_id` int(11) NOT NULL DEFAULT '-1' COMMENT '上级角色',
  975. `self` tinyint(1) NOT NULL DEFAULT '2' COMMENT '是否只能管理自己发布的内容-请在需要此项权限的表中增加[数据查询时影响的字段]',
  976. `col_select` varchar(30) DEFAULT NULL COMMENT '数据查询时影响的字段-该项影响数据查询,如果在表中增加该字段,则后台在查询数据时自动查询当前管理员的ID下的数据,多个用逗号隔开,与[是否只能管理自己发布的内容]相关',
  977. `col_insert` varchar(30) DEFAULT NULL COMMENT '数据插入时影响的字段-该项影响数据插入,如果在表中增加该字段,则后台操作时自动为该字段赋值为当前管理员的ID,多个用逗号隔开',
  978. `col_update` varchar(30) DEFAULT NULL COMMENT '数据更新时影响的字段-该项影响数据更新,如果在表中增加该字段,则后台操作时自动为该字段赋值为当前管理员的ID,多个用逗号隔开',
  979. `oper` varchar(24) DEFAULT NULL COMMENT '操作权限',
  980. `auth` text COMMENT '左侧菜单',
  981. `top` text COMMENT '右侧头部菜单',
  982. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序-数值越大越靠前',
  983. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  984. `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  985. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  986. PRIMARY KEY (`id`)
  987. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;
  988. /*!40101 SET character_set_client = @saved_cs_client */;
  989. --
  990. -- Dumping data for table `wonderful_manage_role`
  991. --
  992. LOCK TABLES `wonderful_manage_role` WRITE;
  993. /*!40000 ALTER TABLE `wonderful_manage_role` DISABLE KEYS */;
  994. INSERT INTO `wonderful_manage_role` VALUES (1,'系统管理员',-1,2,'admin_founder','admin_founder','admin_editor','1,2,3,4,5','all',NULL,1,1,1,1542000853),(2,'人事行政',-1,2,'admin_founder','admin_founder','admin_editor','1,2,3,4','console.index,manage.admin,manage.group',NULL,1,1,1,1542000853),(3,'内容管理组',-1,1,'admin_founder','admin_founder','admin_editor','1,2,3,4,5','console.index,content.article,tag.info,tag.cate,content.cate,content.author,content.audit.data,video.vod,video.live,live.active,live.stream,journal.info,journal.code.info,0',NULL,1,1,1,1542459368),(4,'平台运营管理',-1,2,'admin_founder','admin_founder','admin_editor','1,2,3,4,5','console.index,content.article,tag.info,tag.cate,content.cate,content.author,content.audit.data,act.comment,act.like,act.share,act.live_comment,act.live_note,push.data,push.info,video.vod,video.live,live.active,live.stream,journal.info,journal.code.info,journal.order,spider.data,spider.wechat,passport.user,passport.level,manage.admin,manage.role,manage.group,manage.notice,main.config',NULL,1,1,1,1542698749),(5,'产品管理员',-1,2,'admin_founder','admin_founder','admin_editor','1,2,3,4,5','console.index,content.article,tag.info,tag.cate,content.cate,content.author,content.audit.data,act.comment,act.like,act.share,act.live_comment,act.live_note,push.data,push.info,video.vod,video.live,live.active,live.stream,journal.info,journal.code.info,journal.order,spider.data,spider.wechat,passport.user,passport.level,manage.admin,manage.role,manage.group,manage.notice',NULL,1,1,1,1542703580);
  995. /*!40000 ALTER TABLE `wonderful_manage_role` ENABLE KEYS */;
  996. UNLOCK TABLES;
  997. --
  998. -- Table structure for table `wonderful_manage_top`
  999. --
  1000. DROP TABLE IF EXISTS `wonderful_manage_top`;
  1001. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1002. /*!40101 SET character_set_client = utf8 */;
  1003. CREATE TABLE `wonderful_manage_top` (
  1004. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1005. `name` varchar(50) DEFAULT NULL COMMENT '权限名',
  1006. `top_id` int(11) NOT NULL DEFAULT '-1' COMMENT '上级权限',
  1007. `key` varchar(100) DEFAULT NULL COMMENT '权限KEY',
  1008. `value` varchar(30) DEFAULT NULL COMMENT '对应的值',
  1009. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1010. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1011. PRIMARY KEY (`id`)
  1012. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  1013. /*!40101 SET character_set_client = @saved_cs_client */;
  1014. --
  1015. -- Dumping data for table `wonderful_manage_top`
  1016. --
  1017. LOCK TABLES `wonderful_manage_top` WRITE;
  1018. /*!40000 ALTER TABLE `wonderful_manage_top` DISABLE KEYS */;
  1019. /*!40000 ALTER TABLE `wonderful_manage_top` ENABLE KEYS */;
  1020. UNLOCK TABLES;
  1021. --
  1022. -- Table structure for table `wonderful_message_inbox`
  1023. --
  1024. DROP TABLE IF EXISTS `wonderful_message_inbox`;
  1025. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1026. /*!40101 SET character_set_client = utf8 */;
  1027. CREATE TABLE `wonderful_message_inbox` (
  1028. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1029. `oid` int(11) NOT NULL DEFAULT '0' COMMENT '收件ID',
  1030. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '收件人',
  1031. `from_uid` int(11) NOT NULL DEFAULT '0' COMMENT '发件人',
  1032. `name` varchar(30) DEFAULT NULL COMMENT '发件标题',
  1033. `content` text COMMENT '发件内容',
  1034. `type` int(11) NOT NULL DEFAULT '1' COMMENT '消息类型',
  1035. `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '已读状态',
  1036. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1037. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1038. PRIMARY KEY (`id`)
  1039. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1040. /*!40101 SET character_set_client = @saved_cs_client */;
  1041. --
  1042. -- Table structure for table `wonderful_message_outbox`
  1043. --
  1044. DROP TABLE IF EXISTS `wonderful_message_outbox`;
  1045. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1046. /*!40101 SET character_set_client = utf8 */;
  1047. CREATE TABLE `wonderful_message_outbox` (
  1048. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1049. `uid` int(11) NOT NULL DEFAULT '-1' COMMENT '发件人',
  1050. `name` varchar(30) DEFAULT NULL COMMENT '发件标题',
  1051. `content` text COMMENT '发件内容',
  1052. `type` int(11) NOT NULL DEFAULT '1' COMMENT '消息类型',
  1053. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1054. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1055. PRIMARY KEY (`id`)
  1056. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1057. /*!40101 SET character_set_client = @saved_cs_client */;
  1058. --
  1059. -- Table structure for table `wonderful_message_type`
  1060. --
  1061. DROP TABLE IF EXISTS `wonderful_message_type`;
  1062. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1063. /*!40101 SET character_set_client = utf8 */;
  1064. CREATE TABLE `wonderful_message_type` (
  1065. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1066. `name` varchar(30) DEFAULT NULL COMMENT '类型名称-类型ID值为10以下则为系统消息',
  1067. `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '同时推送-暂未实现,实现后将可以同步发送微信、短信、客户端消息等',
  1068. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1069. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1070. PRIMARY KEY (`id`)
  1071. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4;
  1072. /*!40101 SET character_set_client = @saved_cs_client */;
  1073. --
  1074. -- Dumping data for table `wonderful_message_type`
  1075. --
  1076. LOCK TABLES `wonderful_message_type` WRITE;
  1077. /*!40000 ALTER TABLE `wonderful_message_type` DISABLE KEYS */;
  1078. INSERT INTO `wonderful_message_type` VALUES (1,'系统消息',1,1,1542722855),(2,'系统通知',1,1,1542722855),(11,'用户通知',1,1,1542722855);
  1079. /*!40000 ALTER TABLE `wonderful_message_type` ENABLE KEYS */;
  1080. UNLOCK TABLES;
  1081. --
  1082. -- Table structure for table `wonderful_oauth_account`
  1083. --
  1084. DROP TABLE IF EXISTS `wonderful_oauth_account`;
  1085. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1086. /*!40101 SET character_set_client = utf8 */;
  1087. CREATE TABLE `wonderful_oauth_account` (
  1088. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1089. `name` varchar(60) DEFAULT NULL COMMENT '账户名称',
  1090. `type` varchar(30) DEFAULT NULL COMMENT '账户类型',
  1091. `appid` varchar(150) DEFAULT NULL COMMENT 'APPID',
  1092. `appsecret` varchar(300) DEFAULT NULL COMMENT 'APPSECRET',
  1093. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1094. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '申请时间',
  1095. PRIMARY KEY (`id`)
  1096. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  1097. /*!40101 SET character_set_client = @saved_cs_client */;
  1098. --
  1099. -- Dumping data for table `wonderful_oauth_account`
  1100. --
  1101. LOCK TABLES `wonderful_oauth_account` WRITE;
  1102. /*!40000 ALTER TABLE `wonderful_oauth_account` DISABLE KEYS */;
  1103. INSERT INTO `wonderful_oauth_account` VALUES (1,'精美服务号','wechat','wx6f1ed9ba7eba0361','961b90a6e4ebfe5d13462e17530be9b5',1,1543753734);
  1104. /*!40000 ALTER TABLE `wonderful_oauth_account` ENABLE KEYS */;
  1105. UNLOCK TABLES;
  1106. --
  1107. -- Table structure for table `wonderful_passport_app`
  1108. --
  1109. DROP TABLE IF EXISTS `wonderful_passport_app`;
  1110. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1111. /*!40101 SET character_set_client = utf8 */;
  1112. CREATE TABLE `wonderful_passport_app` (
  1113. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1114. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
  1115. `source_type` int(11) NOT NULL DEFAULT '1' COMMENT '用户来源',
  1116. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1117. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1118. PRIMARY KEY (`id`)
  1119. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1120. /*!40101 SET character_set_client = @saved_cs_client */;
  1121. --
  1122. -- Table structure for table `wonderful_passport_code`
  1123. --
  1124. DROP TABLE IF EXISTS `wonderful_passport_code`;
  1125. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1126. /*!40101 SET character_set_client = utf8 */;
  1127. CREATE TABLE `wonderful_passport_code` (
  1128. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1129. `mobile` varchar(32) DEFAULT NULL COMMENT '手机号',
  1130. `code` varchar(32) DEFAULT NULL COMMENT '验证码',
  1131. `day` int(11) NOT NULL DEFAULT '0' COMMENT '申请时间',
  1132. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1133. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '申请时间',
  1134. PRIMARY KEY (`id`)
  1135. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1136. /*!40101 SET character_set_client = @saved_cs_client */;
  1137. --
  1138. -- Table structure for table `wonderful_passport_user`
  1139. --
  1140. DROP TABLE IF EXISTS `wonderful_passport_user`;
  1141. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1142. /*!40101 SET character_set_client = utf8 */;
  1143. CREATE TABLE `wonderful_passport_user` (
  1144. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  1145. `username` varchar(50) DEFAULT NULL COMMENT '用户名',
  1146. `mobile` varchar(32) DEFAULT NULL COMMENT '手机号',
  1147. `source_type` varchar(100) DEFAULT NULL COMMENT '用户来源',
  1148. `email` varchar(150) DEFAULT NULL COMMENT '邮箱',
  1149. `password` varchar(50) DEFAULT NULL COMMENT '密码',
  1150. `avatar` varchar(150) DEFAULT NULL COMMENT '头像',
  1151. `country` varchar(100) DEFAULT NULL COMMENT '国家',
  1152. `province` varchar(100) DEFAULT NULL COMMENT '省份',
  1153. `city` varchar(100) DEFAULT NULL COMMENT '城市',
  1154. `area` varchar(800) DEFAULT NULL COMMENT '地区',
  1155. `info` varchar(255) DEFAULT NULL COMMENT '介绍-选填,如果想清空该介绍,请输入NULL。',
  1156. `score` varchar(50) DEFAULT NULL COMMENT '积分',
  1157. `sex` tinyint(1) NOT NULL DEFAULT '3' COMMENT '用户性别',
  1158. `level` tinyint(1) NOT NULL DEFAULT '1' COMMENT '用户等级',
  1159. `temp` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否临时用户',
  1160. `login_date` int(11) NOT NULL DEFAULT '0' COMMENT '最近登录',
  1161. `bind` tinyint(1) NOT NULL DEFAULT '2' COMMENT '是否绑定手机',
  1162. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1163. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '注册时间',
  1164. PRIMARY KEY (`id`)
  1165. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  1166. /*!40101 SET character_set_client = @saved_cs_client */;
  1167. --
  1168. -- Dumping data for table `wonderful_passport_user`
  1169. --
  1170. LOCK TABLES `wonderful_passport_user` WRITE;
  1171. /*!40000 ALTER TABLE `wonderful_passport_user` DISABLE KEYS */;
  1172. /*!40000 ALTER TABLE `wonderful_passport_user` ENABLE KEYS */;
  1173. UNLOCK TABLES;
  1174. --
  1175. -- Table structure for table `wonderful_passport_wechat`
  1176. --
  1177. DROP TABLE IF EXISTS `wonderful_passport_wechat`;
  1178. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1179. /*!40101 SET character_set_client = utf8 */;
  1180. CREATE TABLE `wonderful_passport_wechat` (
  1181. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1182. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
  1183. `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '类型',
  1184. `openid` varchar(50) DEFAULT NULL COMMENT 'OPENID-微信的唯一用户ID',
  1185. `unionid` varchar(50) DEFAULT NULL COMMENT 'UNIONID-微信的唯一用户ID',
  1186. `session_key` varchar(50) DEFAULT NULL COMMENT 'SESSION_KEY',
  1187. `access_token` varchar(200) DEFAULT NULL COMMENT 'ACCESS_TOKEN',
  1188. `refresh_token` varchar(200) DEFAULT NULL COMMENT 'REFRESH_TOKEN',
  1189. `expires_in` varchar(100) DEFAULT NULL COMMENT 'EXPIRES_IN',
  1190. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1191. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1192. PRIMARY KEY (`id`)
  1193. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1194. /*!40101 SET character_set_client = @saved_cs_client */;
  1195. --
  1196. -- Table structure for table `wonderful_poster_model`
  1197. --
  1198. DROP TABLE IF EXISTS `wonderful_poster_model`;
  1199. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1200. /*!40101 SET character_set_client = utf8 */;
  1201. CREATE TABLE `wonderful_poster_model` (
  1202. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1203. `template_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属模板',
  1204. `name` varchar(32) DEFAULT NULL COMMENT '模块名称',
  1205. `key` varchar(32) DEFAULT NULL COMMENT '模块标识-设置模块时,使用该标识来设置模块信息',
  1206. `type` int(11) NOT NULL DEFAULT '1' COMMENT '模块类型',
  1207. `value` varchar(500) DEFAULT NULL COMMENT '模块默认值',
  1208. `position_type` int(11) NOT NULL DEFAULT '8' COMMENT '模块位置',
  1209. `position` varchar(32) DEFAULT NULL COMMENT '模块定位-位置为LEFT,TOP,如100,200',
  1210. `offset` varchar(32) DEFAULT NULL COMMENT '偏移量-偏移位置为LEFT,TOP,如-10,-20',
  1211. `text_width` varchar(11) DEFAULT NULL COMMENT '文字宽度',
  1212. `width` varchar(11) DEFAULT NULL COMMENT '图片宽度',
  1213. `height` varchar(11) DEFAULT NULL COMMENT '图片高度',
  1214. `color` varchar(10) DEFAULT NULL COMMENT '文字颜色',
  1215. `fonts` int(11) NOT NULL DEFAULT '1' COMMENT '字体',
  1216. `size` int(11) NOT NULL DEFAULT '16' COMMENT '文字大小-直接输入像素数字',
  1217. `angle` int(11) NOT NULL DEFAULT '0' COMMENT '角度-直接输入数字',
  1218. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1219. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1220. PRIMARY KEY (`id`)
  1221. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4;
  1222. /*!40101 SET character_set_client = @saved_cs_client */;
  1223. --
  1224. -- Dumping data for table `wonderful_poster_model`
  1225. --
  1226. LOCK TABLES `wonderful_poster_model` WRITE;
  1227. /*!40000 ALTER TABLE `wonderful_poster_model` DISABLE KEYS */;
  1228. INSERT INTO `wonderful_poster_model` VALUES (1,1,'标题','name',2,'',5,'0,0','10,110','530','550','200','#000000',2,16,0,1,1543226606),(2,1,'图片','pic',1,'',1,'0,0','0,0','','570','570','#000000',1,16,0,1,1543226637),(3,1,'用户名','username',2,'',8,'60,790','0,0','280','200','200','#000000',1,16,0,1,1543226681),(4,1,'logo','logo',1,'',8,'320,700','0,0','','200','200','#000000',1,16,0,1,1543226699);
  1229. /*!40000 ALTER TABLE `wonderful_poster_model` ENABLE KEYS */;
  1230. UNLOCK TABLES;
  1231. --
  1232. -- Table structure for table `wonderful_poster_template`
  1233. --
  1234. DROP TABLE IF EXISTS `wonderful_poster_template`;
  1235. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1236. /*!40101 SET character_set_client = utf8 */;
  1237. CREATE TABLE `wonderful_poster_template` (
  1238. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1239. `name` varchar(32) DEFAULT NULL COMMENT '模板名称',
  1240. `key` varchar(32) DEFAULT NULL COMMENT '模板标识-调用模板时,使用该标识来获取模板信息,相同的模板标识,将随机抽取一条',
  1241. `type` varchar(32) DEFAULT NULL COMMENT '使用的图形库',
  1242. `update` tinyint(1) NOT NULL DEFAULT '2' COMMENT '生成规则',
  1243. `background` varchar(150) DEFAULT NULL COMMENT '模板背景图',
  1244. `pic` varchar(150) DEFAULT NULL COMMENT '模板样例图',
  1245. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1246. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1247. PRIMARY KEY (`id`)
  1248. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  1249. /*!40101 SET character_set_client = @saved_cs_client */;
  1250. --
  1251. -- Dumping data for table `wonderful_poster_template`
  1252. --
  1253. LOCK TABLES `wonderful_poster_template` WRITE;
  1254. /*!40000 ALTER TABLE `wonderful_poster_template` DISABLE KEYS */;
  1255. INSERT INTO `wonderful_poster_template` VALUES (1,'分享模板','share','gd',2,'{uploadRes}1/2018/12/03/647ae4f317dbe5e7e363fefd6f3d56b0.png','{uploadRes}1/2018/12/03/647ae4f317dbe5e7e363fefd6f3d56b0.png',1,1543226568);
  1256. /*!40000 ALTER TABLE `wonderful_poster_template` ENABLE KEYS */;
  1257. UNLOCK TABLES;
  1258. --
  1259. -- Table structure for table `wonderful_push_data`
  1260. --
  1261. DROP TABLE IF EXISTS `wonderful_push_data`;
  1262. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1263. /*!40101 SET character_set_client = utf8 */;
  1264. CREATE TABLE `wonderful_push_data` (
  1265. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1266. `info_id` int(11) NOT NULL DEFAULT '1' COMMENT '推送位',
  1267. `type` int(11) NOT NULL DEFAULT '1' COMMENT '类型',
  1268. `article_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联图文',
  1269. `vod_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联视频',
  1270. `live_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联直播',
  1271. `journal_id` int(11) NOT NULL DEFAULT '0' COMMENT '关联小刊',
  1272. `olink` varchar(400) DEFAULT NULL COMMENT '链接',
  1273. `name` varchar(60) DEFAULT NULL COMMENT '标题-手动干扰项,如想在当前推送位的标题请在此修改',
  1274. `link` varchar(200) DEFAULT NULL COMMENT '链接-手动干扰项,如想在当前推送位的链接请在此修改',
  1275. `pic` varchar(200) DEFAULT NULL COMMENT '图片-手动干扰项,请上传,100X100大小的图片',
  1276. `content` text COMMENT '描述-手动干扰项,字数请不要超过30个汉字,前台展示时会自动过滤',
  1277. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  1278. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1279. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1280. PRIMARY KEY (`id`)
  1281. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1282. /*!40101 SET character_set_client = @saved_cs_client */;
  1283. --
  1284. -- Table structure for table `wonderful_push_info`
  1285. --
  1286. DROP TABLE IF EXISTS `wonderful_push_info`;
  1287. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1288. /*!40101 SET character_set_client = utf8 */;
  1289. CREATE TABLE `wonderful_push_info` (
  1290. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '推送位ID',
  1291. `name` varchar(60) DEFAULT NULL COMMENT '推送位标题',
  1292. `key` varchar(60) DEFAULT NULL COMMENT '推送位标识',
  1293. `num` int(11) NOT NULL DEFAULT '5' COMMENT '数据总条数-为空或小于0则不限制,只对前台有效',
  1294. `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '推送位类型',
  1295. `col` varchar(30) DEFAULT NULL COMMENT '启用的字段',
  1296. `col_pic` varchar(20) DEFAULT NULL COMMENT '图片尺寸提醒-请直接输入提醒的文字即可,如100X100',
  1297. `col_content` int(11) NOT NULL DEFAULT '30' COMMENT '内容长度限制-必须是数字',
  1298. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  1299. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1300. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1301. `function` varchar(30) NOT NULL DEFAULT '1,2,3,4,10' COMMENT '启用的功能',
  1302. PRIMARY KEY (`id`)
  1303. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4;
  1304. /*!40101 SET character_set_client = @saved_cs_client */;
  1305. --
  1306. -- Dumping data for table `wonderful_push_info`
  1307. --
  1308. LOCK TABLES `wonderful_push_info` WRITE;
  1309. /*!40000 ALTER TABLE `wonderful_push_info` DISABLE KEYS */;
  1310. INSERT INTO `wonderful_push_info` VALUES (1,'小刊精选推荐','jingxuan',4,1,'1,3','100X100',30,1,1,1542006490,'4'),(2,'头部导航','menu',10,1,'1,3','100X100',30,1,2,1542088052,'1,2,3,4,10'),(3,'精选焦点图','focus',10,1,'1,3','750*380px或等比尺寸',30,1,1,1542088052,'1,2,3,4,10'),(4,'精选分类','link',10,1,'1,3','46*46px',30,1,1,1542088052,'1,2,3,4,10'),(5,'精选广告位','ad',10,1,'1,3','695*120px或等比尺寸',30,1,1,1542088052,'1,2,3,4,10'),(6,'精选推荐','up',10,1,'1,3','100X100',30,1,1,1542088052,'1,2,3,4,10'),(7,'精选弹窗广告位','open_ad',10,1,'1,3','500*630px或等比尺寸',30,1,1,1542459926,'1,2,3,4,10');
  1311. /*!40000 ALTER TABLE `wonderful_push_info` ENABLE KEYS */;
  1312. UNLOCK TABLES;
  1313. --
  1314. -- Table structure for table `wonderful_score_action`
  1315. --
  1316. DROP TABLE IF EXISTS `wonderful_score_action`;
  1317. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1318. /*!40101 SET character_set_client = utf8 */;
  1319. CREATE TABLE `wonderful_score_action` (
  1320. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1321. `name` varchar(80) DEFAULT NULL COMMENT '行为名称',
  1322. `key` varchar(80) DEFAULT NULL COMMENT '行为标识-用于程序中统计积分总数',
  1323. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1324. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1325. PRIMARY KEY (`id`)
  1326. ) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4;
  1327. /*!40101 SET character_set_client = @saved_cs_client */;
  1328. --
  1329. -- Dumping data for table `wonderful_score_action`
  1330. --
  1331. LOCK TABLES `wonderful_score_action` WRITE;
  1332. /*!40000 ALTER TABLE `wonderful_score_action` DISABLE KEYS */;
  1333. INSERT INTO `wonderful_score_action` VALUES (1,'浏览图文','view_article',1,1543106833),(2,'浏览视频','view_vod',1,1543106852),(3,'浏览直播','view_live',1,1543106864),(4,'浏览小刊首页','view_journal',1,1543106917),(5,'发表评论','submit_commit',1,1543107084),(6,'喜欢','submit_like',1,1543107090),(7,'邀请好友','share_friend',1,1543107129),(8,'通过小刊邀请到新用户','share_journal_new_reflux',1,1543107197),(9,'通过小刊邀请到老用户','share_journal_reflux',1,1543107211),(10,'手机号注册','mobile_reg',1,1543107357),(11,'用户微信授权','bind_wechat',1,1543107377),(12,'绑定手机号','bind_mobile',1,1543107389),(13,'购买小刊','buy_journal',1,1543107469),(14,'阅读小刊','read_journal',1,1543107508),(15,'通过图文邀请到新用户','share_article_new_reflux',1,1543107700),(16,'通过视频邀请到新用户','share_vod_new_reflux',1,1543107721),(17,'通过直播邀请到新用户','share_live_new_reflux',1,1543107735),(18,'通过图文邀请到老用户','share_article_reflux',1,1543107753),(19,'通过视频邀请到老用户','share_vod_reflux',1,1543107766),(20,'通过直播邀请到老用户','share_live_reflux',1,1543107781),(21,'兑换小刊','dh_journal',1,1543634470),(22,'观看直播','submit_watch',1,1543746021);
  1334. /*!40000 ALTER TABLE `wonderful_score_action` ENABLE KEYS */;
  1335. UNLOCK TABLES;
  1336. --
  1337. -- Table structure for table `wonderful_score_action_log`
  1338. --
  1339. DROP TABLE IF EXISTS `wonderful_score_action_log`;
  1340. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1341. /*!40101 SET character_set_client = utf8 */;
  1342. CREATE TABLE `wonderful_score_action_log` (
  1343. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1344. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  1345. `action_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属行为',
  1346. `score_type` int(11) NOT NULL DEFAULT '1' COMMENT '是否增加积分',
  1347. `score` varchar(30) DEFAULT NULL COMMENT '增加积分数',
  1348. `callback` varchar(800) DEFAULT NULL COMMENT '行为回调方法',
  1349. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1350. `num` varchar(30) NOT NULL DEFAULT '0' COMMENT '手动增加积分数',
  1351. `mscore` varchar(30) NOT NULL DEFAULT '0' COMMENT '手动增加积分数',
  1352. PRIMARY KEY (`id`)
  1353. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1354. /*!40101 SET character_set_client = @saved_cs_client */;
  1355. --
  1356. -- Table structure for table `wonderful_score_config`
  1357. --
  1358. DROP TABLE IF EXISTS `wonderful_score_config`;
  1359. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1360. /*!40101 SET character_set_client = utf8 */;
  1361. CREATE TABLE `wonderful_score_config` (
  1362. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1363. `name` varchar(32) DEFAULT NULL COMMENT '积分名称',
  1364. `type` int(11) NOT NULL DEFAULT '2' COMMENT '是否主积分-只能有一个主积分,主积分将作为用户主要积分显示在用户信息中',
  1365. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  1366. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1367. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1368. PRIMARY KEY (`id`)
  1369. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  1370. /*!40101 SET character_set_client = @saved_cs_client */;
  1371. --
  1372. -- Dumping data for table `wonderful_score_config`
  1373. --
  1374. LOCK TABLES `wonderful_score_config` WRITE;
  1375. /*!40000 ALTER TABLE `wonderful_score_config` DISABLE KEYS */;
  1376. INSERT INTO `wonderful_score_config` VALUES (1,'精美通用积分',1,1,1,1543106731);
  1377. /*!40000 ALTER TABLE `wonderful_score_config` ENABLE KEYS */;
  1378. UNLOCK TABLES;
  1379. --
  1380. -- Table structure for table `wonderful_score_level`
  1381. --
  1382. DROP TABLE IF EXISTS `wonderful_score_level`;
  1383. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1384. /*!40101 SET character_set_client = utf8 */;
  1385. CREATE TABLE `wonderful_score_level` (
  1386. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1387. `name` varchar(32) DEFAULT NULL COMMENT '等级名称',
  1388. `score` text COMMENT '积分设置',
  1389. `level` int(11) NOT NULL DEFAULT '1' COMMENT '等级数字-请直接输入等级数字,每次升级按照该数字进行匹配,如果设置为1,则为LV1,不允许重复,用户升级',
  1390. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1391. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1392. PRIMARY KEY (`id`)
  1393. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4;
  1394. /*!40101 SET character_set_client = @saved_cs_client */;
  1395. --
  1396. -- Dumping data for table `wonderful_score_level`
  1397. --
  1398. LOCK TABLES `wonderful_score_level` WRITE;
  1399. /*!40000 ALTER TABLE `wonderful_score_level` DISABLE KEYS */;
  1400. INSERT INTO `wonderful_score_level` VALUES (1,'精美小兵','W3sib3JkZXIiOiIxIiwiY29uZmlnIjoiMSIsIm51bSI6IjEifV0=',1,1,1543106788),(2,'精美大咖','W3sib3JkZXIiOiIxIiwiY29uZmlnIjoiMSIsIm51bSI6IjMwIn1d',2,1,1543106799),(3,'精美咖咖','W3sib3JkZXIiOiIyIiwiY29uZmlnIjoiMSIsIm51bSI6IjUwIn1d',3,1,1543311115),(4,'Jstyle大神','W3sib3JkZXIiOiI1IiwiY29uZmlnIjoiMSIsIm51bSI6IjIwMCJ9XQ==',4,1,1543634179);
  1401. /*!40000 ALTER TABLE `wonderful_score_level` ENABLE KEYS */;
  1402. UNLOCK TABLES;
  1403. --
  1404. -- Table structure for table `wonderful_score_rule`
  1405. --
  1406. DROP TABLE IF EXISTS `wonderful_score_rule`;
  1407. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1408. /*!40101 SET character_set_client = utf8 */;
  1409. CREATE TABLE `wonderful_score_rule` (
  1410. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1411. `config_id` int(11) NOT NULL DEFAULT '1' COMMENT '积分名称',
  1412. `action_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属行为',
  1413. `num` varchar(80) DEFAULT NULL COMMENT '增加积分数-如果为负数,则是减少积分',
  1414. `upper` int(11) NOT NULL DEFAULT '1' COMMENT '是否有上限限制',
  1415. `upper_type` int(11) NOT NULL DEFAULT '1' COMMENT '上限限制类型',
  1416. `upper_time` int(11) NOT NULL DEFAULT '12' COMMENT '间隔小时数',
  1417. `upper_limit` int(11) NOT NULL DEFAULT '2' COMMENT '上限限制次数-小于1则不限制',
  1418. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1419. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1420. PRIMARY KEY (`id`)
  1421. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4;
  1422. /*!40101 SET character_set_client = @saved_cs_client */;
  1423. --
  1424. -- Dumping data for table `wonderful_score_rule`
  1425. --
  1426. LOCK TABLES `wonderful_score_rule` WRITE;
  1427. /*!40000 ALTER TABLE `wonderful_score_rule` DISABLE KEYS */;
  1428. INSERT INTO `wonderful_score_rule` VALUES (1,1,1,'1',2,1,12,3,2,1543107531),(2,1,2,'1',2,1,12,3,2,1543107540),(3,1,3,'1',2,1,12,3,2,1543107557),(4,1,11,'5',2,3,12,1,1,1543107583),(5,1,12,'5',2,3,12,1,1,1543107595),(6,1,6,'1',2,1,12,3,1,1543107624),(7,1,5,'1',2,1,12,3,1,1543107633),(8,1,7,'1',2,1,12,3,1,1543107649),(9,1,8,'2',1,1,12,2,1,1543107663),(10,1,21,'20',1,1,12,2,1,1543710990),(11,1,13,'20',1,1,12,2,1,1543711008);
  1429. /*!40000 ALTER TABLE `wonderful_score_rule` ENABLE KEYS */;
  1430. UNLOCK TABLES;
  1431. --
  1432. -- Table structure for table `wonderful_score_user`
  1433. --
  1434. DROP TABLE IF EXISTS `wonderful_score_user`;
  1435. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1436. /*!40101 SET character_set_client = utf8 */;
  1437. CREATE TABLE `wonderful_score_user` (
  1438. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1439. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  1440. `config_id` int(11) NOT NULL DEFAULT '1' COMMENT '积分名称',
  1441. `score` varchar(80) DEFAULT NULL COMMENT '可用数量',
  1442. `no_score` varchar(80) DEFAULT NULL COMMENT '冻结数量',
  1443. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1444. PRIMARY KEY (`id`)
  1445. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1446. /*!40101 SET character_set_client = @saved_cs_client */;
  1447. --
  1448. -- Table structure for table `wonderful_score_user_level`
  1449. --
  1450. DROP TABLE IF EXISTS `wonderful_score_user_level`;
  1451. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1452. /*!40101 SET character_set_client = utf8 */;
  1453. CREATE TABLE `wonderful_score_user_level` (
  1454. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1455. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  1456. `level_id` int(11) NOT NULL DEFAULT '1' COMMENT '等级名称',
  1457. `type` int(11) NOT NULL DEFAULT '1' COMMENT '升级方式',
  1458. `info` varchar(300) DEFAULT NULL COMMENT '备注',
  1459. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1460. PRIMARY KEY (`id`)
  1461. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1462. /*!40101 SET character_set_client = @saved_cs_client */;
  1463. --
  1464. -- Table structure for table `wonderful_score_user_log`
  1465. --
  1466. DROP TABLE IF EXISTS `wonderful_score_user_log`;
  1467. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1468. /*!40101 SET character_set_client = utf8 */;
  1469. CREATE TABLE `wonderful_score_user_log` (
  1470. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1471. `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户名',
  1472. `config_id` int(11) NOT NULL DEFAULT '1' COMMENT '积分名称',
  1473. `action_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属行为',
  1474. `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '收入支出状态',
  1475. `num` varchar(80) DEFAULT NULL COMMENT '增加积分数-如果为负数,则是减少积分',
  1476. `total` varchar(80) DEFAULT NULL COMMENT '总积分数',
  1477. `desc` varchar(300) DEFAULT NULL COMMENT '描述',
  1478. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1479. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1480. PRIMARY KEY (`id`)
  1481. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1482. /*!40101 SET character_set_client = @saved_cs_client */;
  1483. --
  1484. -- Table structure for table `wonderful_sms_config`
  1485. --
  1486. DROP TABLE IF EXISTS `wonderful_sms_config`;
  1487. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1488. /*!40101 SET character_set_client = utf8 */;
  1489. CREATE TABLE `wonderful_sms_config` (
  1490. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1491. `name` varchar(32) DEFAULT NULL COMMENT '配置名称',
  1492. `key` varchar(32) DEFAULT NULL COMMENT '短信标识-发送短信时,使用该标识来读取短信基本配置',
  1493. `sign` varchar(60) DEFAULT NULL COMMENT '短信签名',
  1494. `sdk` varchar(32) DEFAULT NULL COMMENT '是否调取SDK',
  1495. `appid` varchar(50) DEFAULT NULL COMMENT 'APPID',
  1496. `appsecret` varchar(80) DEFAULT NULL COMMENT 'APPSECRET',
  1497. `url` varchar(300) DEFAULT NULL COMMENT '接口地址',
  1498. `method` varchar(32) DEFAULT NULL COMMENT '请求方式',
  1499. `json` tinyint(1) NOT NULL DEFAULT '2' COMMENT '是否进行JSON编码',
  1500. `header` varchar(500) DEFAULT NULL COMMENT 'HEADER信息-如AUTHORIZATION:APPCODE E7183E44BA8E4CCAA3D690510923D3FA',
  1501. `body` varchar(500) DEFAULT NULL COMMENT 'BODY信息-如PARAM={CODE}&PHONE={MOBILE}&SIGN={SIGN}&SKIN={SKIN}',
  1502. `code_timeout` int(11) NOT NULL DEFAULT '600' COMMENT '验证码有效期-以秒为单位',
  1503. `code_length` int(11) NOT NULL DEFAULT '4' COMMENT '验证码长度',
  1504. `code_type` int(11) NOT NULL DEFAULT '4' COMMENT '验证码类型',
  1505. `code_total` int(11) NOT NULL DEFAULT '10' COMMENT '一天之内的最大发送次数',
  1506. `code_time` int(11) NOT NULL DEFAULT '60' COMMENT '不允许多久之内重复发送-以秒为单位',
  1507. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1508. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1509. PRIMARY KEY (`id`)
  1510. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  1511. /*!40101 SET character_set_client = @saved_cs_client */;
  1512. --
  1513. -- Dumping data for table `wonderful_sms_config`
  1514. --
  1515. LOCK TABLES `wonderful_sms_config` WRITE;
  1516. /*!40000 ALTER TABLE `wonderful_sms_config` DISABLE KEYS */;
  1517. INSERT INTO `wonderful_sms_config` VALUES (1,'发送短信','sms','Jstyle精美','url','','','http://smssh1.253.com/msg/send/json','get',1,'','account=N6414704&password=zie9Wpg8ND2d4a&phone={mobile}&msg={skin}',600,4,4,10,60,1,1543889081);
  1518. /*!40000 ALTER TABLE `wonderful_sms_config` ENABLE KEYS */;
  1519. UNLOCK TABLES;
  1520. --
  1521. -- Table structure for table `wonderful_sms_skin`
  1522. --
  1523. DROP TABLE IF EXISTS `wonderful_sms_skin`;
  1524. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1525. /*!40101 SET character_set_client = utf8 */;
  1526. CREATE TABLE `wonderful_sms_skin` (
  1527. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1528. `config_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属配置',
  1529. `name` varchar(32) DEFAULT NULL COMMENT '模板名称',
  1530. `key` varchar(32) DEFAULT NULL COMMENT '模板标识',
  1531. `content` varchar(800) DEFAULT NULL COMMENT '模板内容-如果短信接口已提供模板,请在此输入模板ID',
  1532. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1533. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1534. PRIMARY KEY (`id`)
  1535. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
  1536. /*!40101 SET character_set_client = @saved_cs_client */;
  1537. --
  1538. -- Dumping data for table `wonderful_sms_skin`
  1539. --
  1540. LOCK TABLES `wonderful_sms_skin` WRITE;
  1541. /*!40000 ALTER TABLE `wonderful_sms_skin` DISABLE KEYS */;
  1542. INSERT INTO `wonderful_sms_skin` VALUES (1,1,'购买提醒','buy_journal','【{sign}】购买成功,您获得了{name}的阅读资格!',1,1543889221),(2,1,'直播提醒','note_live','【{sign}】{name}直播即将开始,马上观看!',1,1543889233),(3,1,'活动提醒','share_journal','【{sign}】邀请人数已达{num}人,您获得了{name} 的阅读资格!',1,1543889249);
  1543. /*!40000 ALTER TABLE `wonderful_sms_skin` ENABLE KEYS */;
  1544. UNLOCK TABLES;
  1545. --
  1546. -- Table structure for table `wonderful_spider_data`
  1547. --
  1548. DROP TABLE IF EXISTS `wonderful_spider_data`;
  1549. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1550. /*!40101 SET character_set_client = utf8 */;
  1551. CREATE TABLE `wonderful_spider_data` (
  1552. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1553. `wechat_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属公众号',
  1554. `name` varchar(180) DEFAULT NULL COMMENT '标题',
  1555. `copyright` int(11) NOT NULL DEFAULT '1' COMMENT '原创',
  1556. `cover` varchar(150) DEFAULT NULL COMMENT '封面图',
  1557. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1558. `content` text COMMENT '内容',
  1559. `pdate` int(11) NOT NULL DEFAULT '0' COMMENT '发布时间',
  1560. `audit` int(11) NOT NULL DEFAULT '1' COMMENT '审核状态',
  1561. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1562. PRIMARY KEY (`id`)
  1563. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1564. /*!40101 SET character_set_client = @saved_cs_client */;
  1565. --
  1566. -- Table structure for table `wonderful_spider_wechat`
  1567. --
  1568. DROP TABLE IF EXISTS `wonderful_spider_wechat`;
  1569. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1570. /*!40101 SET character_set_client = utf8 */;
  1571. CREATE TABLE `wonderful_spider_wechat` (
  1572. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1573. `name` varchar(100) DEFAULT NULL COMMENT '名称-直接输入公众号名称即可,系统会自动抓取该公众号的前10篇文章,每天抓取一次',
  1574. `wechat` varchar(200) DEFAULT NULL COMMENT '微信号',
  1575. `cate_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属栏目',
  1576. `author_id` int(11) NOT NULL DEFAULT '1' COMMENT '作者',
  1577. `zdate` int(11) NOT NULL DEFAULT '0' COMMENT '下次执行时间',
  1578. `pdate` int(11) NOT NULL DEFAULT '12' COMMENT '抓取时间间隔-每个公众号发布的文章时间不同,请设置抓取时间间隔,单位为小时,尽量保证每次抓取都有新数据,也请不要设置间隔时间太短,抓取太频繁会导致抓取失败',
  1579. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  1580. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1581. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1582. PRIMARY KEY (`id`)
  1583. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1584. /*!40101 SET character_set_client = @saved_cs_client */;
  1585. --
  1586. -- Table structure for table `wonderful_tag_cate`
  1587. --
  1588. DROP TABLE IF EXISTS `wonderful_tag_cate`;
  1589. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1590. /*!40101 SET character_set_client = utf8 */;
  1591. CREATE TABLE `wonderful_tag_cate` (
  1592. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1593. `name` varchar(32) DEFAULT NULL COMMENT '分类名称',
  1594. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  1595. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1596. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1597. PRIMARY KEY (`id`)
  1598. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4;
  1599. /*!40101 SET character_set_client = @saved_cs_client */;
  1600. --
  1601. -- Dumping data for table `wonderful_tag_cate`
  1602. --
  1603. LOCK TABLES `wonderful_tag_cate` WRITE;
  1604. /*!40000 ALTER TABLE `wonderful_tag_cate` DISABLE KEYS */;
  1605. INSERT INTO `wonderful_tag_cate` VALUES (1,'默认分类',1,1,1542006421),(2,'文章',3,1,1542010060),(3,'视频',4,1,1542447805),(4,'直播',5,1,1542447816);
  1606. /*!40000 ALTER TABLE `wonderful_tag_cate` ENABLE KEYS */;
  1607. UNLOCK TABLES;
  1608. --
  1609. -- Table structure for table `wonderful_tag_data`
  1610. --
  1611. DROP TABLE IF EXISTS `wonderful_tag_data`;
  1612. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1613. /*!40101 SET character_set_client = utf8 */;
  1614. CREATE TABLE `wonderful_tag_data` (
  1615. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1616. `tag_id` int(11) NOT NULL DEFAULT '0' COMMENT '标签ID',
  1617. `source_table` varchar(30) DEFAULT NULL COMMENT '来源的表名',
  1618. `source_id` int(11) NOT NULL DEFAULT '0' COMMENT '数据ID',
  1619. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1620. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1621. PRIMARY KEY (`id`)
  1622. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1623. /*!40101 SET character_set_client = @saved_cs_client */;
  1624. --
  1625. -- Table structure for table `wonderful_tag_info`
  1626. --
  1627. DROP TABLE IF EXISTS `wonderful_tag_info`;
  1628. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1629. /*!40101 SET character_set_client = utf8 */;
  1630. CREATE TABLE `wonderful_tag_info` (
  1631. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1632. `name` varchar(80) DEFAULT NULL COMMENT '标签名',
  1633. `cate_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属分类',
  1634. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  1635. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1636. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1637. PRIMARY KEY (`id`)
  1638. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4;
  1639. /*!40101 SET character_set_client = @saved_cs_client */;
  1640. --
  1641. -- Dumping data for table `wonderful_tag_info`
  1642. --
  1643. LOCK TABLES `wonderful_tag_info` WRITE;
  1644. /*!40000 ALTER TABLE `wonderful_tag_info` DISABLE KEYS */;
  1645. INSERT INTO `wonderful_tag_info` VALUES (1,'娱乐',3,1,1,1542005780),(2,'明星',2,1,1,1542010082),(3,'聚会',2,1,1,1542447925),(4,'精美',1,1,1,1542447942),(5,'穿搭',2,1,1,1542447960),(6,'时装',4,1,1,1542447970),(7,'',1,1,2,1542459987),(8,'',1,1,2,1542515536),(9,'',1,1,2,1542516468),(10,'',1,1,2,1542516527),(11,'',1,1,2,1542683971),(12,'',1,1,2,1542694100);
  1646. /*!40000 ALTER TABLE `wonderful_tag_info` ENABLE KEYS */;
  1647. UNLOCK TABLES;
  1648. --
  1649. -- Table structure for table `wonderful_video_live`
  1650. --
  1651. DROP TABLE IF EXISTS `wonderful_video_live`;
  1652. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1653. /*!40101 SET character_set_client = utf8 */;
  1654. CREATE TABLE `wonderful_video_live` (
  1655. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1656. `name` varchar(80) DEFAULT NULL COMMENT '标题',
  1657. `cate_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属栏目',
  1658. `pic_cover` varchar(150) DEFAULT NULL COMMENT '封面图-4:3比例的图片',
  1659. `stream_id` int(11) NOT NULL DEFAULT '0' COMMENT '直播流选择',
  1660. `sdate` int(11) NOT NULL DEFAULT '0' COMMENT '开始时间',
  1661. `num_add_user` int(11) NOT NULL DEFAULT '0' COMMENT '手动增加在线人数',
  1662. `num_user` int(11) NOT NULL DEFAULT '0' COMMENT '在线人数',
  1663. `num_add_view` int(11) NOT NULL DEFAULT '0' COMMENT '手动增加浏览量PV数',
  1664. `num_view` int(11) NOT NULL DEFAULT '0' COMMENT '浏览量PV',
  1665. `num_up` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢数',
  1666. `num_comment` int(11) NOT NULL DEFAULT '0' COMMENT '评论数',
  1667. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1668. `admin_founder` int(11) NOT NULL DEFAULT '1' COMMENT '创建人',
  1669. `admin_editor` int(11) NOT NULL DEFAULT '1' COMMENT '操作人',
  1670. `pdate` int(11) NOT NULL DEFAULT '0' COMMENT '发布时间',
  1671. `share` text COMMENT '分享海报-选择海报库中的海报',
  1672. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  1673. `udate` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
  1674. `content` text COMMENT '内容',
  1675. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1676. `tag` text NOT NULL COMMENT '标签',
  1677. `num_add_up` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢基数',
  1678. `function` varchar(100) NOT NULL DEFAULT '1' COMMENT '功能选择',
  1679. `share_yes` int(11) NOT NULL DEFAULT '1' COMMENT '是否显示分享按钮',
  1680. `share_title` varchar(100) NOT NULL COMMENT '分享标题',
  1681. `share_pic` varchar(150) NOT NULL COMMENT '分享图片',
  1682. `share_content` varchar(200) NOT NULL COMMENT '分享内容',
  1683. `audit` int(11) NOT NULL DEFAULT '1' COMMENT '审核状态',
  1684. `status` int(11) NOT NULL DEFAULT '1' COMMENT '发布状态',
  1685. `edate` int(11) NOT NULL COMMENT '结束时间-选择结束时间,能够得到当前时间段完整的直播回放地址',
  1686. `url_m3u8` varchar(800) NOT NULL COMMENT '直播回放地址',
  1687. `url_mp4` varchar(800) NOT NULL COMMENT '直播回放地址',
  1688. `author_id` int(11) NOT NULL DEFAULT '1' COMMENT '作者',
  1689. `pic_cover_169` varchar(150) NOT NULL COMMENT '16:9封面图-请上传16:9比例的封面图',
  1690. PRIMARY KEY (`id`)
  1691. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1692. /*!40101 SET character_set_client = @saved_cs_client */;
  1693. --
  1694. -- Table structure for table `wonderful_video_vod`
  1695. --
  1696. DROP TABLE IF EXISTS `wonderful_video_vod`;
  1697. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1698. /*!40101 SET character_set_client = utf8 */;
  1699. CREATE TABLE `wonderful_video_vod` (
  1700. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  1701. `name` varchar(80) DEFAULT NULL COMMENT '标题',
  1702. `link` varchar(800) DEFAULT NULL COMMENT '点播地址',
  1703. `video` varchar(800) DEFAULT NULL COMMENT '上传视频',
  1704. `cate_id` int(11) NOT NULL DEFAULT '1' COMMENT '所属栏目',
  1705. `author_id` int(11) NOT NULL DEFAULT '1' COMMENT '作者',
  1706. `pic_cover` varchar(150) DEFAULT NULL COMMENT '封面图-4:3比例的图片',
  1707. `num_add_view` int(11) NOT NULL DEFAULT '0' COMMENT '手动增加浏览量PV数',
  1708. `num_view` int(11) NOT NULL DEFAULT '0' COMMENT '浏览量PV',
  1709. `num_up` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢数',
  1710. `num_comment` int(11) NOT NULL DEFAULT '0' COMMENT '评论数',
  1711. `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  1712. `admin_founder` int(11) NOT NULL DEFAULT '1' COMMENT '创建人',
  1713. `admin_editor` int(11) NOT NULL DEFAULT '1' COMMENT '操作人',
  1714. `pdate` int(11) NOT NULL DEFAULT '0' COMMENT '发布时间',
  1715. `share` text COMMENT '分享海报-选择海报库中的海报',
  1716. `reorder` int(11) NOT NULL DEFAULT '1' COMMENT '排序(数值越大越靠前)',
  1717. `udate` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
  1718. `content` text COMMENT '内容',
  1719. `cdate` int(11) NOT NULL DEFAULT '0' COMMENT '录入时间',
  1720. `tag` text NOT NULL COMMENT '标签',
  1721. `num_add_up` int(11) NOT NULL DEFAULT '0' COMMENT '喜欢基数',
  1722. `function` varchar(100) NOT NULL DEFAULT '1' COMMENT '功能选择',
  1723. `share_yes` int(11) NOT NULL DEFAULT '1' COMMENT '是否显示分享按钮',
  1724. `share_title` varchar(100) NOT NULL COMMENT '分享标题',
  1725. `share_pic` varchar(150) NOT NULL COMMENT '分享图片',
  1726. `share_content` varchar(200) NOT NULL COMMENT '分享内容',
  1727. `audit` int(11) NOT NULL DEFAULT '1' COMMENT '审核状态',
  1728. `status` int(11) NOT NULL DEFAULT '1' COMMENT '发布状态',
  1729. `pic_cover_169` varchar(150) NOT NULL COMMENT '16:9封面图-请上传16:9比例的封面图',
  1730. PRIMARY KEY (`id`)
  1731. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
  1732. /*!40101 SET character_set_client = @saved_cs_client */;
  1733. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  1734. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  1735. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  1736. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  1737. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  1738. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  1739. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  1740. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  1741. -- Dump completed on 2018-12-04 10:18:11