|
|
@@ -10,10 +10,7 @@ const wxApp={
|
|
|
const dict=p => http.get('/blade-system/dict-biz/dictionary', {params:p})
|
|
|
|
|
|
//文件上传
|
|
|
-let uploadFileUrl='/upload/putfile'
|
|
|
-const uploadFile={
|
|
|
- submit:p => http.upload(uploadFileUrl, {name:'file',filePath:p}),
|
|
|
-}
|
|
|
+const uploadFile =(p)=> http.upload('blade-resource/oss/endpoint/put-file', {name:'file',filePath:p})
|
|
|
|
|
|
//活动管理
|
|
|
const activity = {
|
|
|
@@ -68,6 +65,9 @@ const billRecord={
|
|
|
submit:p => http.post('cyzh-ldt/billrecord/submit', p),
|
|
|
}
|
|
|
|
|
|
+const setting = {
|
|
|
+ feedback: p => http.post('feedback/submit', p)
|
|
|
+}
|
|
|
|
|
|
export const api={
|
|
|
wxApp,
|
|
|
@@ -81,5 +81,6 @@ export const api={
|
|
|
agenterType,
|
|
|
userBank,
|
|
|
pay,
|
|
|
- billRecord
|
|
|
+ billRecord,
|
|
|
+ setting
|
|
|
}
|