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({
switch (this.options.act){
//act: "reserve", seller: "陕西风味面馆", date: "2020-10-22", section: "night", room: "6人间"
case 'reserve'://预订的时候
return `预订:${this.options.seller}/${this.options.date} ${this.options.section}/${this.options.room}`
let dur={'morning':'早餐','noon':'午餐','night':'晚餐','midnight':'夜宵'}
return `预订:${this.options.seller}/${this.options.date} ${dur[this.options.section]}/${this.options.room}`
break;
}
}
... ...