Commit 4f632d16 authored by 何虹's avatar 何虹 💬

queryOne group放在tableName后面

parent 1a46fd41
......@@ -54,10 +54,11 @@ class RestFul {
queryOne (data) {
this.packParamHandle(data)
const { tableName, id, appCode, parms, group, bodyData, isQueryMaster } = data
let url_ = `${this.MODULE_API}${appCode}/${tableName}/${id}/`
let url_ = `${this.MODULE_API}${appCode}/${tableName}/`//${id}/`
if (group) {
url_ = `${url_}${group}/`
}
url_ = `${url_}${id}/`
const header = this.mergeHeaderQueryMaster(isQueryMaster)
if (bodyData) {
return this.requestClient.put(url_, bodyData, parms, header)
......
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