Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

glsx / dj-scrm-wx-work-attachment-activity

  • This project
    • Loading...
  • Sign in
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
Switch branch/tag
  • dj-scrm-wx-work-attachment-activity
  • src
  • api
  • ssoApi.js
  • 李伟康's avatar
    核销列表增加loading · f59dedb6
    李伟康 committed Jan 17, 2022
    f59dedb6
ssoApi.js 456 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
const url = '/rop-scrm-sso/router'
const returnAll = true
export default {
  /**OAuth2授权登陆 */
  login(data) {
    data.method = 'scrm.api.sso.ww.oauth.login'
    data.productCode = 'PC00025'
    return window.$HTTP({
      url,
      data,
      returnAll
    })
  },
  /** 选择登录账号 */
  selectAccount(data) {
    data.method = 'scrm.api.sso.user.login.select'
    return window.$HTTP({
      url,
      data,
      returnAll
    })
  }
}