Commit e2bd7860 authored by 何虹's avatar 何虹 💬

升级优化

parent 72482c26
...@@ -22082,10 +22082,11 @@ class RestFul { ...@@ -22082,10 +22082,11 @@ class RestFul {
queryOne (data) { queryOne (data) {
this.packParamHandle(data) this.packParamHandle(data)
const { tableName, id, appCode, parms, group, bodyData, isQueryMaster } = 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) { if (group) {
url_ = `${url_}${group}/` url_ = `${url_}${group}/`
} }
url_ = `${url_}${id}/`
const header = this.mergeHeaderQueryMaster(isQueryMaster) const header = this.mergeHeaderQueryMaster(isQueryMaster)
if (bodyData) { if (bodyData) {
return this.requestClient.put(url_, bodyData, parms, header) return this.requestClient.put(url_, bodyData, parms, header)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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