GAS+LineBot開發
	
function xxx(){
// Line Bot 傳入訊息
let botMessageText = '+1 土雞蛋';
let keyWord = botMessageText.split(' ');
// 啟用商品
let prods = get_rows_prod_main_enable();
// 比對訂購商品
let prod = prods.find(function(row){
return row.title === keyWord[1];
})
// 比對數量
if(prod.amount.split('|').indexOf(keyWord[0]) !== -1){
console.log(prod)
}else{
console.log([]);
}
}
Line Bot 傳入訊息
  let botMessageText = '+1 土雞蛋';
let keyWord = botMessageText.split(' ');
撈出啟用商品let prods = get_rows_prod_main_enable();
比對商品名稱- 商品名稱我們只找一筆記錄,故使用 find()
 - 參考資訊
 - 
    
// 比對訂購商品
let prod = prods.find(function(row){
return row.title === keyWord[1];
})
    
 
      
        .videobox {
          position: relative;
          width: 100%;
          height: 0;
          padding-bottom: 56.25%;
        }
        .videobox iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
      
      
        
      
    
  
	Youtube影片:https://youtu.be/PJKpKqZ4q-o