123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- 'use strict';
- module.exports = [
- // 用户
- {
- url: '/api/naf/adminUser/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/adminUser/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/adminUser/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/adminUser/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/naf/adminUser/updatePwd',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- // 角色
- {
- url: '/api/naf/role/create',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/role/update',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/role/delete/:id',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/role/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- // 菜单
- {
- url: '/api/naf/adminMenu/queryUserMenu',
- jwt: true,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/naf/adminMenu/query',
- jwt: false,
- issuer: [ 'naf' ],
- log: false,
- },
- // 用户角色
- {
- url: '/api/naf/userBindRole/bind',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/userBindRole/unbind',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/userBindRole/queryBind',
- jwt: true,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/naf/userBindRole/queryRole',
- jwt: true,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/naf/userBindRole/batchBind',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/userBindRole/batchUnBind',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- // 角色菜单
- {
- url: '/api/naf/roleBindMenu/bind',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/roleBindMenu/unbind',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/roleBindMenu/queryBind',
- jwt: true,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/naf/roleBindMenu/queryRole',
- jwt: true,
- issuer: [ 'naf' ],
- log: false,
- },
- {
- url: '/api/naf/roleBindMenu/batchBind',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- {
- url: '/api/naf/roleBindMenu/batchUnBind',
- jwt: true,
- issuer: [ 'naf' ],
- log: true,
- },
- ];
|