12345678910111213141516171819202122232425 |
- import axios from "axios";
- // const url = "http://127.0.0.1:8090/jeecg-boot";//本地
- // const url = "http://106.15.206.14:8087/jeecg-boot"; //测试环境
- const url = "http://192.168.1.158:8087/jeecg-boot"; //森宇环境
- export function getIdcsList() {
- return axios.get(url + "/tbTableInfo/list");
- }
- //json表单数据保存接口
- export function formAdd(parmas) {
- return axios.post(url + "/tbTableInfo/add", parmas)
- }
- //根据数据库表名称查询表单json数据
- export function getFormByBusinessTable(businessTable) {
- return axios.get(url + "/tbTableInfo/editorQuery?businessTable=" + businessTable)
- }
- //查询数据库表名和注释名称
- export function getTableList() {
- return axios.get(url + "/tbTableInfo/getTableList")
- }
- //根据表明查询字段和字段说明
- export function getTableColumnList(tableName) {
- return axios.get(url + "/tbTableInfo/getTableColumnList?tableName=" + tableName)
- }
|