mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 04: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({
|
||||
url: '/api/room/selectParkList',
|
||||
method: "get",
|
||||
data
|
||||
});
|
||||
}
|
@ -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',
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user