Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-main
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b3fc247f
authored
Jan 19, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
测试接口
1 parent
20dbf4ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/api/ssoApi.js
src/api/ssoApi.js
View file @
b3fc247
const
url
=
'/rop-scrm-sso/router'
const
url
=
'/rop-scrm-sso/router'
const
returnAll
=
true
const
returnAll
=
true
const
productCode
=
'PC00025'
export
default
{
export
default
{
/**OAuth2授权登陆 */
/**OAuth2授权登陆 */
login
(
data
)
{
login
(
data
)
{
data
.
method
=
'scrm.api.sso.ww.oauth.login'
data
.
method
=
'scrm.api.sso.ww.oauth.login'
data
.
productCode
=
'PC00025'
data
.
productCode
=
productCode
return
window
.
$HTTP
({
return
window
.
$HTTP
({
url
,
url
,
data
,
data
,
...
@@ -36,7 +37,7 @@ export default {
...
@@ -36,7 +37,7 @@ export default {
/**获取工作台权限 */
/**获取工作台权限 */
getPermission
(
data
=
{})
{
getPermission
(
data
=
{})
{
data
.
method
=
'scrm.api.sso.user.permission.get'
data
.
method
=
'scrm.api.sso.user.permission.get'
data
.
productCode
=
'PC00025'
data
.
productCode
=
productCode
return
window
.
$HTTP
({
return
window
.
$HTTP
({
url
,
url
,
data
,
data
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment