mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 11:59:37 +08:00
描述:查询园区根据地区查询
This commit is contained in:
parent
7d8f971852
commit
3527f8445f
@ -4,9 +4,10 @@ import {
|
|||||||
|
|
||||||
|
|
||||||
// 园区列表
|
// 园区列表
|
||||||
export function selectParkListRq() {
|
export function selectParkListRq(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/room/selectParkList',
|
url: '/api/room/selectParkList',
|
||||||
method: "get",
|
method: "get",
|
||||||
|
data
|
||||||
});
|
});
|
||||||
}
|
}
|
@ -2,6 +2,7 @@ App({
|
|||||||
// 郑州小程序配置信息
|
// 郑州小程序配置信息
|
||||||
APPID: 'wx5582a07c1fbbcf06',
|
APPID: 'wx5582a07c1fbbcf06',
|
||||||
APPSECRET: 'ad24130a8919c613efd9538f69abafd3',
|
APPSECRET: 'ad24130a8919c613efd9538f69abafd3',
|
||||||
|
tenantId : '1', // 地区-郑州
|
||||||
// 本地测试时不用加/api
|
// 本地测试时不用加/api
|
||||||
DOMAIN_NAME: 'http://192.168.0.11:9227', //接口域名
|
DOMAIN_NAME: 'http://192.168.0.11:9227', //接口域名
|
||||||
IMG_NAME: 'http://192.168.0.11:9227',
|
IMG_NAME: 'http://192.168.0.11:9227',
|
||||||
|
@ -29,7 +29,9 @@ Page({
|
|||||||
// 园区列表
|
// 园区列表
|
||||||
getParkList() {
|
getParkList() {
|
||||||
let _this = this
|
let _this = this
|
||||||
selectParkListRq().then(res => {
|
selectParkListRq({
|
||||||
|
tenantId: app.tenantId
|
||||||
|
}).then(res => {
|
||||||
console.log('selectParkListRq', res);
|
console.log('selectParkListRq', res);
|
||||||
_this.setData({
|
_this.setData({
|
||||||
dataList: res.data
|
dataList: res.data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user