fix: 配送单页面接口数据对接,去除部分失效接口调用
This commit is contained in:
22
sheep/api/member/delivery.js
Normal file
22
sheep/api/member/delivery.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import request from '@/sheep/request';
|
||||
|
||||
const DeliveryApi = {
|
||||
// 骑手上线
|
||||
postOnline: () => {
|
||||
return request({
|
||||
url: '/onlineStatus/online',
|
||||
method: 'POST'
|
||||
});
|
||||
},
|
||||
|
||||
// 骑手申请离线
|
||||
offlineApply: () => {
|
||||
return request({
|
||||
url: '/onlineStatus/offline/apply',
|
||||
method: 'POST'
|
||||
});
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
export default DeliveryApi;
|
||||
Reference in New Issue
Block a user