You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
573 B
29 lines
573 B
import request from '@/utils/request'
|
|
|
|
// USER_CODE_BEGIN -- hygl_common
|
|
/**
|
|
* 上传文件到本地
|
|
* @param params
|
|
* @returns
|
|
*/
|
|
export function uploadFile(params: FormData) {
|
|
let config = {
|
|
headers: {
|
|
"Content-Type": "multipart/form-data",
|
|
}
|
|
}
|
|
return request.post('hygl/uploadFile', params,config)
|
|
}
|
|
|
|
/**
|
|
* 获取远程搜索优惠券下拉菜单
|
|
* @param params
|
|
*/
|
|
export function getWithCouponsList(params: Record<string,any>){
|
|
return request.get('hygl/getCouponsList', {params})
|
|
}
|
|
|
|
|
|
|
|
|
|
// USER_CODE_END -- hygl_common
|