Commit f67d26258d863ae940235fe725ffdd60fcb413df

Authored by vking
1 parent 1bec4f99

chatbot & qiang

Showing 1 changed file with 2 additions and 1 deletions
@@ -55,7 +55,8 @@ Page({ @@ -55,7 +55,8 @@ Page({
55 switch (this.options.act){ 55 switch (this.options.act){
56 //act: "reserve", seller: "陕西风味面馆", date: "2020-10-22", section: "night", room: "6人间" 56 //act: "reserve", seller: "陕西风味面馆", date: "2020-10-22", section: "night", room: "6人间"
57 case 'reserve'://预订的时候 57 case 'reserve'://预订的时候
58 - return `预订:${this.options.seller}/${this.options.date} ${this.options.section}/${this.options.room}` 58 + let dur={'morning':'早餐','noon':'午餐','night':'晚餐','midnight':'夜宵'}
  59 + return `预订:${this.options.seller}/${this.options.date} ${dur[this.options.section]}/${this.options.room}`
59 break; 60 break;
60 } 61 }
61 } 62 }