微信小程序项目模板文件
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.

5 satır
229B

  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. }