描述:查询园区根据地区查询

This commit is contained in:
SelfRidicule 2024-04-25 16:49:03 +08:00
parent 7d8f971852
commit 3527f8445f
3 changed files with 6 additions and 2 deletions

View File

@ -4,9 +4,10 @@ import {
// 园区列表
export function selectParkListRq() {
export function selectParkListRq(data) {
return request({
url: '/api/room/selectParkList',
method: "get",
data
});
}

View File

@ -2,6 +2,7 @@ App({
// 郑州小程序配置信息
APPID: 'wx5582a07c1fbbcf06',
APPSECRET: 'ad24130a8919c613efd9538f69abafd3',
tenantId : '1', // 地区-郑州
// 本地测试时不用加/api
DOMAIN_NAME: 'http://192.168.0.11:9227', //接口域名
IMG_NAME: 'http://192.168.0.11:9227',

View File

@ -29,7 +29,9 @@ Page({
// 园区列表
getParkList() {
let _this = this
selectParkListRq().then(res => {
selectParkListRq({
tenantId: app.tenantId
}).then(res => {
console.log('selectParkListRq', res);
_this.setData({
dataList: res.data