zdK103.js 687 Bytes
/*
 * @Description  :宗地空间属性api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 16:42:32
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class zdK103 {
  //宗地空间属性
  async getZdK103ById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/ZdK103/detail',
      method: 'get',
      params: {
        bsmSjsb: bsmSjsb
      }
    })
  }
  //修改宗地空间属性
  async updateZdK103 (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/ZdK103/edit',
      method: 'post',
      data
    })
  }
}
export default new zdK103()