|
@@ -1,26 +1,22 @@
|
|
|
import request from '@/utils/request'
|
|
|
import constant from '@/constant'
|
|
|
|
|
|
-function list(formData){
|
|
|
- return request.post(constant.serverUrl + "/open/orderForm/list", formData);
|
|
|
+function swiperList(formData){
|
|
|
+ return request.post(constant.serverUrl + "/open/newsApi/swiperList", formData);
|
|
|
}
|
|
|
|
|
|
-function detail(id){
|
|
|
- return request.get(constant.serverUrl + "/open/orderForm/detail/" + id);
|
|
|
-}
|
|
|
-
|
|
|
-function sendRQCode(formData){
|
|
|
- return request.post(constant.serverUrl + "/open/orderForm/sendRQCode", formData);
|
|
|
+function tabList(formData){
|
|
|
+ return request.post(constant.serverUrl + "/open/newsApi/tabList", formData);
|
|
|
}
|
|
|
|
|
|
-function login(formData){
|
|
|
- return request.post(constant.serverUrl + "/open/orderForm/login", formData);
|
|
|
+function pageList(formData){
|
|
|
+ return request.post(constant.serverUrl + "/open/newsApi/pageList", formData);
|
|
|
}
|
|
|
|
|
|
-function exportXls(formData){
|
|
|
- return request.post(constant.serverUrl + "/open/orderForm/exportXls", formData);
|
|
|
+function detail(id){
|
|
|
+ return request.get(constant.serverUrl + "/open/newsApi/detail/" + id);
|
|
|
}
|
|
|
|
|
|
export default {
|
|
|
- list,detail,sendRQCode,login,exportXls
|
|
|
+ swiperList,tabList,pageList,detail
|
|
|
}
|