123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- 'use strict';
- module.exports = [
- // 栏目
- {
- url: '/api/cms/column/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/column/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/column/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/column/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- // 内容
- {
- url: '/api/cms/contents/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/contents/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/contents/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/contents/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/cms/contents/fetch',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/cms/contents/search',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- // 图片新闻类型
- {
- url: '/api/cms/imgtype/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/imgtype/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/imgtype/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/imgtype/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- // 图片新闻
- {
- url: '/api/cms/imgnews/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/imgnews/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/imgnews/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/imgnews/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/cms/imgnews/fetch',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- // 菜单
- {
- url: '/api/cms/menus/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/menus/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/menus/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/menus/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- // 单页
- {
- url: '/api/cms/pages/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/pages/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/pages/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/pages/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/cms/pages/fetch',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- // 配置
- {
- url: '/api/cms/toconfig/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/toconfig/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/toconfig/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/cms/toconfig/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- ];
|