Node-RED mariadb setting

資訊庫元件設定 安裝【Manage Pallette】>>【Nodes】>> node-red-node-mysql 查詢待生產的訂單 msg.topic = “select concat(lastname, firstname) as ‘客戶名稱’, order_id as ‘訂單編號’, total as ‘金額’, date_added as ‘下單日期’ from oc_order where order_status_id =1”; return msg; var msg1 …

Opencart 新增訂單狀態

訂單狀態加急(Urgent) Opencart 後台設定: 【System】>>【Location】>>【Order Statuses】   資料庫關聯示意圖 訂單狀態值 初始值:Pending 生產中的值:Processing 生產完成的值:Processed 急單的值:Urgent 訂單完成的值:Complete 切換訂單狀態 狀態 值 Pending 1 Processing 2 Complete 5 Processed 15 Urgent 17

Django Views

^: indicating the begin $: indicateing the last [0-9]{4}: 4 characters and each character is 0~9. (?P<by_date>…….), will pass the value as by_date parameter to the view. r preceding the …