Commit 064f25bd authored by 何虹's avatar 何虹 💬

restful加入get方法

parent 1d487497
......@@ -111,5 +111,15 @@ class RestFul {
}
return this.requestClient.delete(url_, bodyData, parms)
}
// 兼容新版java的ref查询
get(data){
this.packParamHandle(data)
const { tableName, appCode, parms,group } = data
let url_ = `${this.MODULE_API}${appCode}/${tableName}/`
if (group) {
url_ = `${url_}${group}/`
}
return this.requestClient.get(url_, parms)
}
}
export default RestFul
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment