|
@@ -1,5 +1,6 @@
|
|
let Parse = getApp().Parse;
|
|
let Parse = getApp().Parse;
|
|
const company = getApp().globalData.company
|
|
const company = getApp().globalData.company
|
|
|
|
+const { getStores } = require(".././../service/request")
|
|
Component({
|
|
Component({
|
|
/**
|
|
/**
|
|
* 组件的属性列表
|
|
* 组件的属性列表
|
|
@@ -163,6 +164,12 @@ Component({
|
|
},
|
|
},
|
|
//获取店铺消息
|
|
//获取店铺消息
|
|
async gethomestar() {
|
|
async gethomestar() {
|
|
|
|
+ let _data = await getStores({
|
|
|
|
+ uid:Parse.User.current().id,
|
|
|
|
+ skip:0,
|
|
|
|
+ limit:10
|
|
|
|
+ })
|
|
|
|
+ console.log('店铺数据=====>',_data);
|
|
let ShopStore = new Parse.Query('ShopStore');
|
|
let ShopStore = new Parse.Query('ShopStore');
|
|
ShopStore.equalTo('company', company);
|
|
ShopStore.equalTo('company', company);
|
|
ShopStore.equalTo('type', "stay");
|
|
ShopStore.equalTo('type', "stay");
|