拓恒河湖长制全民护河平台WEB端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

whiteList.js 228B

2 years ago
1234
  1. const WITHOUT_TOKEN_API = [{url: '/member/login', method: 'POST'}]
  2. export const isWithoutToken = function({url, method=''}){
  3. return WITHOUT_TOKEN_API.some((item) => item.url === url && item.method === method.toUpperCase())
  4. }