This commit is contained in:
陈裕财
2024-02-24 18:02:34 +08:00
parent af13b19116
commit 0fb6397b13
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2018-present chenyc Copyright (c) 2018-present 广州擎勤网络科技有限公司
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -274,15 +274,15 @@ npm run dev
浏览器访问 http://localhost:8067 浏览器访问 http://localhost:8067
#### 登录相关 #### 登录相关
登录api对接后台接口有两种方式分别为对接统一认证中心、对接xm-backend 登录api对接后台接口有两种方式分别为对接统一认证中心、对接mdp-lcode-backend
默认对接xm-backend中的登录模块如果想切换更改[mdp_config.js中的getOauth2LoginContext函数即可](src/api/mdp_pub/mdp_config.js) 默认对接mdp-lcode-backend中的登录模块如果想切换更改[mdp_config.js中的getOauth2LoginContext函数即可](src/api/mdp_pub/mdp_config.js)
- 对接统一认证中心进行登录 - 对接统一认证中心进行登录
```js ```js
getOauth2LoginContext:function(){ getOauth2LoginContext:function(){
return "oauth2client" return "oauth2client"
} }
``` ```
- 对接xm-backend进行登录 - 对接mdp-lcode-backend进行登录
```js ```js
getOauth2LoginContext:function(){ getOauth2LoginContext:function(){
return "lcode" return "lcode"