初始化移动端提交
This commit is contained in:
21
sheep/api/migration/app.js
Normal file
21
sheep/api/migration/app.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import request from '@/sheep/request';
|
||||
|
||||
// TODO 芋艿:【直播】小程序直播还不支持
|
||||
export default {
|
||||
//小程序直播
|
||||
mplive: {
|
||||
getRoomList: (ids) =>
|
||||
request({
|
||||
url: 'app/mplive/getRoomList',
|
||||
method: 'GET',
|
||||
params: {
|
||||
ids: ids.join(','),
|
||||
},
|
||||
}),
|
||||
getMpLink: () =>
|
||||
request({
|
||||
url: 'app/mplive/getMpLink',
|
||||
method: 'GET',
|
||||
}),
|
||||
},
|
||||
};
|
||||
18
sheep/api/migration/third.js
Normal file
18
sheep/api/migration/third.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import request from '@/sheep/request';
|
||||
|
||||
export default {
|
||||
// 苹果相关
|
||||
apple: {
|
||||
// 第三方登录
|
||||
login: (data) =>
|
||||
request({
|
||||
url: 'third/apple/login',
|
||||
method: 'POST',
|
||||
data,
|
||||
custom: {
|
||||
showSuccess: true,
|
||||
loadingMsg: '登陆中',
|
||||
},
|
||||
}),
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user