沈斌
2018-02-08 96013660a0afddce2497b94d0b548a1194d146e9
src/app/delon.module.ts
@@ -186,6 +186,9 @@
        // auth
        AlainAuthModule.forRoot({
            // ignores: [ `\\/login`, `assets\\/` ],
            token_send_key : 'X-Authorization',
            token_send_template : 'Bearer ${token}',
            token_send_place : 'header',
            login_url: `/passport/login`,
            allow_anonymous_key: `_allow_anonymous`
        }),