a6a012e62f858e509528a69b051a28e40fb2b8dc.svn-base 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  1. {
  2. "message": "",
  3. "result": {
  4. "data": [
  5. {
  6. "id": "admin",
  7. "name": "管理员",
  8. "describe": "拥有所有权限",
  9. "status": 1,
  10. "creatorId": "system",
  11. "createTime": 1497160610259,
  12. "deleted": 0,
  13. "permissions": [
  14. {
  15. "roleId": "admin",
  16. "permissionId": "comment",
  17. "permissionName": "评论管理",
  18. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  19. "actionEntitySet": [
  20. {
  21. "action": "add",
  22. "describe": "新增",
  23. "defaultCheck": false
  24. },
  25. {
  26. "action": "query",
  27. "describe": "查询",
  28. "defaultCheck": false
  29. },
  30. {
  31. "action": "get",
  32. "describe": "详情",
  33. "defaultCheck": false
  34. },
  35. {
  36. "action": "update",
  37. "describe": "修改",
  38. "defaultCheck": false
  39. },
  40. {
  41. "action": "delete",
  42. "describe": "删除",
  43. "defaultCheck": false
  44. }
  45. ],
  46. "actionList": null,
  47. "dataAccess": null
  48. },
  49. {
  50. "roleId": "admin",
  51. "permissionId": "member",
  52. "permissionName": "会员管理",
  53. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  54. "actionEntitySet": [
  55. {
  56. "action": "add",
  57. "describe": "新增",
  58. "defaultCheck": false
  59. },
  60. {
  61. "action": "query",
  62. "describe": "查询",
  63. "defaultCheck": false
  64. },
  65. {
  66. "action": "get",
  67. "describe": "详情",
  68. "defaultCheck": false
  69. },
  70. {
  71. "action": "update",
  72. "describe": "修改",
  73. "defaultCheck": false
  74. },
  75. {
  76. "action": "delete",
  77. "describe": "删除",
  78. "defaultCheck": false
  79. }
  80. ],
  81. "actionList": null,
  82. "dataAccess": null
  83. },
  84. {
  85. "roleId": "admin",
  86. "permissionId": "menu",
  87. "permissionName": "菜单管理",
  88. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"import\",\"defaultCheck\":false,\"describe\":\"导入\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"}]",
  89. "actionEntitySet": [
  90. {
  91. "action": "add",
  92. "describe": "新增",
  93. "defaultCheck": false
  94. },
  95. {
  96. "action": "import",
  97. "describe": "导入",
  98. "defaultCheck": false
  99. },
  100. {
  101. "action": "get",
  102. "describe": "详情",
  103. "defaultCheck": false
  104. },
  105. {
  106. "action": "update",
  107. "describe": "修改",
  108. "defaultCheck": false
  109. }
  110. ],
  111. "actionList": null,
  112. "dataAccess": null
  113. },
  114. {
  115. "roleId": "admin",
  116. "permissionId": "order",
  117. "permissionName": "订单管理",
  118. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  119. "actionEntitySet": [
  120. {
  121. "action": "add",
  122. "describe": "新增",
  123. "defaultCheck": false
  124. },
  125. {
  126. "action": "query",
  127. "describe": "查询",
  128. "defaultCheck": false
  129. },
  130. {
  131. "action": "get",
  132. "describe": "详情",
  133. "defaultCheck": false
  134. },
  135. {
  136. "action": "update",
  137. "describe": "修改",
  138. "defaultCheck": false
  139. },
  140. {
  141. "action": "delete",
  142. "describe": "删除",
  143. "defaultCheck": false
  144. }
  145. ],
  146. "actionList": null,
  147. "dataAccess": null
  148. },
  149. {
  150. "roleId": "admin",
  151. "permissionId": "permission",
  152. "permissionName": "权限管理",
  153. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  154. "actionEntitySet": [
  155. {
  156. "action": "add",
  157. "describe": "新增",
  158. "defaultCheck": false
  159. },
  160. {
  161. "action": "get",
  162. "describe": "详情",
  163. "defaultCheck": false
  164. },
  165. {
  166. "action": "update",
  167. "describe": "修改",
  168. "defaultCheck": false
  169. },
  170. {
  171. "action": "delete",
  172. "describe": "删除",
  173. "defaultCheck": false
  174. }
  175. ],
  176. "actionList": null,
  177. "dataAccess": null
  178. },
  179. {
  180. "roleId": "admin",
  181. "permissionId": "role",
  182. "permissionName": "角色管理",
  183. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  184. "actionEntitySet": [
  185. {
  186. "action": "add",
  187. "describe": "新增",
  188. "defaultCheck": false
  189. },
  190. {
  191. "action": "get",
  192. "describe": "详情",
  193. "defaultCheck": false
  194. },
  195. {
  196. "action": "update",
  197. "describe": "修改",
  198. "defaultCheck": false
  199. },
  200. {
  201. "action": "delete",
  202. "describe": "删除",
  203. "defaultCheck": false
  204. }
  205. ],
  206. "actionList": null,
  207. "dataAccess": null
  208. },
  209. {
  210. "roleId": "admin",
  211. "permissionId": "test",
  212. "permissionName": "测试权限",
  213. "actions": "[]",
  214. "actionEntitySet": [],
  215. "actionList": null,
  216. "dataAccess": null
  217. },
  218. {
  219. "roleId": "admin",
  220. "permissionId": "user",
  221. "permissionName": "用户管理",
  222. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"import\",\"defaultCheck\":false,\"describe\":\"导入\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"},{\"action\":\"export\",\"defaultCheck\":false,\"describe\":\"导出\"}]",
  223. "actionEntitySet": [
  224. {
  225. "action": "add",
  226. "describe": "新增",
  227. "defaultCheck": false
  228. },
  229. {
  230. "action": "import",
  231. "describe": "导入",
  232. "defaultCheck": false
  233. },
  234. {
  235. "action": "get",
  236. "describe": "详情",
  237. "defaultCheck": false
  238. },
  239. {
  240. "action": "update",
  241. "describe": "修改",
  242. "defaultCheck": false
  243. },
  244. {
  245. "action": "delete",
  246. "describe": "删除",
  247. "defaultCheck": false
  248. },
  249. {
  250. "action": "export",
  251. "describe": "导出",
  252. "defaultCheck": false
  253. }
  254. ],
  255. "actionList": null,
  256. "dataAccess": null
  257. }
  258. ]
  259. },
  260. {
  261. "id": "svip",
  262. "name": "SVIP",
  263. "describe": "超级会员",
  264. "status": 1,
  265. "creatorId": "system",
  266. "createTime": 1532417744846,
  267. "deleted": 0,
  268. "permissions": [
  269. {
  270. "roleId": "admin",
  271. "permissionId": "comment",
  272. "permissionName": "评论管理",
  273. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  274. "actionEntitySet": [
  275. {
  276. "action": "add",
  277. "describe": "新增",
  278. "defaultCheck": false
  279. },
  280. {
  281. "action": "query",
  282. "describe": "查询",
  283. "defaultCheck": false
  284. },
  285. {
  286. "action": "get",
  287. "describe": "详情",
  288. "defaultCheck": false
  289. },
  290. {
  291. "action": "update",
  292. "describe": "修改",
  293. "defaultCheck": false
  294. },
  295. {
  296. "action": "delete",
  297. "describe": "删除",
  298. "defaultCheck": false
  299. }
  300. ],
  301. "actionList": null,
  302. "dataAccess": null
  303. },
  304. {
  305. "roleId": "admin",
  306. "permissionId": "member",
  307. "permissionName": "会员管理",
  308. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  309. "actionEntitySet": [
  310. {
  311. "action": "add",
  312. "describe": "新增",
  313. "defaultCheck": false
  314. },
  315. {
  316. "action": "query",
  317. "describe": "查询",
  318. "defaultCheck": false
  319. },
  320. {
  321. "action": "get",
  322. "describe": "详情",
  323. "defaultCheck": false
  324. }
  325. ],
  326. "actionList": null,
  327. "dataAccess": null
  328. },
  329. {
  330. "roleId": "admin",
  331. "permissionId": "menu",
  332. "permissionName": "菜单管理",
  333. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"import\",\"defaultCheck\":false,\"describe\":\"导入\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"}]",
  334. "actionEntitySet": [
  335. {
  336. "action": "add",
  337. "describe": "新增",
  338. "defaultCheck": false
  339. },
  340. {
  341. "action": "import",
  342. "describe": "导入",
  343. "defaultCheck": false
  344. },
  345. {
  346. "action": "get",
  347. "describe": "详情",
  348. "defaultCheck": false
  349. }
  350. ],
  351. "actionList": null,
  352. "dataAccess": null
  353. },
  354. {
  355. "roleId": "admin",
  356. "permissionId": "order",
  357. "permissionName": "订单管理",
  358. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  359. "actionEntitySet": [
  360. {
  361. "action": "add",
  362. "describe": "新增",
  363. "defaultCheck": false
  364. },
  365. {
  366. "action": "query",
  367. "describe": "查询",
  368. "defaultCheck": false
  369. },
  370. {
  371. "action": "get",
  372. "describe": "详情",
  373. "defaultCheck": false
  374. },
  375. {
  376. "action": "update",
  377. "describe": "修改",
  378. "defaultCheck": false
  379. }
  380. ],
  381. "actionList": null,
  382. "dataAccess": null
  383. },
  384. {
  385. "roleId": "admin",
  386. "permissionId": "permission",
  387. "permissionName": "权限管理",
  388. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  389. "actionEntitySet": [
  390. {
  391. "action": "add",
  392. "describe": "新增",
  393. "defaultCheck": false
  394. },
  395. {
  396. "action": "get",
  397. "describe": "详情",
  398. "defaultCheck": false
  399. },
  400. {
  401. "action": "update",
  402. "describe": "修改",
  403. "defaultCheck": false
  404. }
  405. ],
  406. "actionList": null,
  407. "dataAccess": null
  408. },
  409. {
  410. "roleId": "admin",
  411. "permissionId": "role",
  412. "permissionName": "角色管理",
  413. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"}]",
  414. "actionEntitySet": [
  415. {
  416. "action": "add",
  417. "describe": "新增",
  418. "defaultCheck": false
  419. },
  420. {
  421. "action": "update",
  422. "describe": "修改",
  423. "defaultCheck": false
  424. },
  425. {
  426. "action": "delete",
  427. "describe": "删除",
  428. "defaultCheck": false
  429. }
  430. ],
  431. "actionList": null,
  432. "dataAccess": null
  433. },
  434. {
  435. "roleId": "admin",
  436. "permissionId": "test",
  437. "permissionName": "测试权限",
  438. "actions": "[]",
  439. "actionEntitySet": [],
  440. "actionList": null,
  441. "dataAccess": null
  442. },
  443. {
  444. "roleId": "admin",
  445. "permissionId": "user",
  446. "permissionName": "用户管理",
  447. "actions": "[{\"action\":\"add\",\"defaultCheck\":false,\"describe\":\"新增\"},{\"action\":\"import\",\"defaultCheck\":false,\"describe\":\"导入\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"},{\"action\":\"update\",\"defaultCheck\":false,\"describe\":\"修改\"},{\"action\":\"delete\",\"defaultCheck\":false,\"describe\":\"删除\"},{\"action\":\"export\",\"defaultCheck\":false,\"describe\":\"导出\"}]",
  448. "actionEntitySet": [
  449. {
  450. "action": "add",
  451. "describe": "新增",
  452. "defaultCheck": false
  453. },
  454. {
  455. "action": "import",
  456. "describe": "导入",
  457. "defaultCheck": false
  458. },
  459. {
  460. "action": "get",
  461. "describe": "详情",
  462. "defaultCheck": false
  463. },
  464. {
  465. "action": "update",
  466. "describe": "修改",
  467. "defaultCheck": false
  468. }
  469. ],
  470. "actionList": null,
  471. "dataAccess": null
  472. }
  473. ]
  474. },
  475. {
  476. "id": "user",
  477. "name": "普通会员",
  478. "describe": "普通用户,只能查询",
  479. "status": 1,
  480. "creatorId": "system",
  481. "createTime": 1497160610259,
  482. "deleted": 0,
  483. "permissions": [
  484. {
  485. "roleId": "user",
  486. "permissionId": "comment",
  487. "permissionName": "评论管理",
  488. "actions": "[{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"}]",
  489. "actionEntitySet": [
  490. {
  491. "action": "query",
  492. "describe": "查询",
  493. "defaultCheck": false
  494. },
  495. {
  496. "action": "get",
  497. "describe": "详情",
  498. "defaultCheck": false
  499. }
  500. ],
  501. "actionList": null,
  502. "dataAccess": null
  503. },
  504. {
  505. "roleId": "user",
  506. "permissionId": "marketing",
  507. "permissionName": "营销管理",
  508. "actions": "[]",
  509. "actionEntitySet": [],
  510. "actionList": null,
  511. "dataAccess": null
  512. },
  513. {
  514. "roleId": "user",
  515. "permissionId": "member",
  516. "permissionName": "会员管理",
  517. "actions": "[{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"}]",
  518. "actionEntitySet": [
  519. {
  520. "action": "query",
  521. "describe": "查询",
  522. "defaultCheck": false
  523. },
  524. {
  525. "action": "get",
  526. "describe": "详情",
  527. "defaultCheck": false
  528. }
  529. ],
  530. "actionList": null,
  531. "dataAccess": null
  532. },
  533. {
  534. "roleId": "user",
  535. "permissionId": "menu",
  536. "permissionName": "菜单管理",
  537. "actions": "[]",
  538. "actionEntitySet": [],
  539. "actionList": null,
  540. "dataAccess": null
  541. },
  542. {
  543. "roleId": "user",
  544. "permissionId": "order",
  545. "permissionName": "订单管理",
  546. "actions": "[{\"action\":\"query\",\"defaultCheck\":false,\"describe\":\"查询\"},{\"action\":\"get\",\"defaultCheck\":false,\"describe\":\"详情\"}]",
  547. "actionEntitySet": [
  548. {
  549. "action": "query",
  550. "describe": "查询",
  551. "defaultCheck": false
  552. },
  553. {
  554. "action": "get",
  555. "describe": "详情",
  556. "defaultCheck": false
  557. }
  558. ],
  559. "actionList": null,
  560. "dataAccess": null
  561. },
  562. {
  563. "roleId": "user",
  564. "permissionId": "permission",
  565. "permissionName": "权限管理",
  566. "actions": "[]",
  567. "actionEntitySet": [],
  568. "actionList": null,
  569. "dataAccess": null
  570. },
  571. {
  572. "roleId": "user",
  573. "permissionId": "role",
  574. "permissionName": "角色管理",
  575. "actions": "[]",
  576. "actionEntitySet": [],
  577. "actionList": null,
  578. "dataAccess": null
  579. },
  580. {
  581. "roleId": "user",
  582. "permissionId": "test",
  583. "permissionName": "测试权限",
  584. "actions": "[]",
  585. "actionEntitySet": [],
  586. "actionList": null,
  587. "dataAccess": null
  588. },
  589. {
  590. "roleId": "user",
  591. "permissionId": "user",
  592. "permissionName": "用户管理",
  593. "actions": "[]",
  594. "actionEntitySet": [],
  595. "actionList": null,
  596. "dataAccess": null
  597. }
  598. ]
  599. }
  600. ],
  601. "pageSize": 10,
  602. "pageNo": 0,
  603. "totalPage": 1,
  604. "totalCount": 5
  605. },
  606. "status": 200,
  607. "timestamp": 1537079497645
  608. }