兰宝车间质量管理系统-前端
疯狂的狮子Li
2024-06-19 c206ab5b4a38f99bec4ee34d7b01bbabc83fa120
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import request from '@/utils/request';
 
// 绑定账号
export function authBinding(source: string, tenantId: string) {
  return request({
    url: '/auth/binding/' + source,
    method: 'get',
    params: {
      tenantId: tenantId,
      domain: window.location.host
    }
  });
}
 
// 解绑账号
export function authUnlock(authId: string) {
  return request({
    url: '/auth/unlock/' + authId,
    method: 'delete'
  });
}
//获取授权列表
export function getAuthList() {
  return request({
    url: '/system/social/list',
    method: 'get'
  });
}