|
@@ -8,7 +8,7 @@ Page({
|
|
|
data: {
|
|
|
height: app.globalData.height * 2 + 25,
|
|
|
navbarData: {
|
|
|
- name: '智慧食堂'
|
|
|
+ name: '节俭会'
|
|
|
},
|
|
|
heat: 80,
|
|
|
heatColor: {
|
|
@@ -46,26 +46,7 @@ Page({
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
- // const test = `${app.globalData.publicUrl}/api/st/dining/arrange`;
|
|
|
- // console.log(test);
|
|
|
- wx.request({
|
|
|
- url: `${app.globalData.publicUrl}/api/st/dining/arrange`,
|
|
|
- method: "get",
|
|
|
- header: {
|
|
|
- 'x-tenant': 'test'
|
|
|
- },
|
|
|
- data: {},
|
|
|
-
|
|
|
- success: res => {
|
|
|
- console.log(res);
|
|
|
- },
|
|
|
- error: err => {
|
|
|
- wx.showToast({
|
|
|
- title: err.msg,
|
|
|
- icon: 'error'
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
+ console.log(app.globalData.usserInfo);
|
|
|
},
|
|
|
|
|
|
/**
|