2020年6月1日 星期一

20200601

KDS APP 增加廚房控管
Orders APP修正設定檔
修正 流程管控.造成的問題

2020年4月13日 星期一

20200413

所有修改紀錄,以沙盒版本為主
所有修改紀錄,以沙盒版本為主
所有修改紀錄,以沙盒版本為主
=================================================================

此次修改是配合LINEPay,等所有功能齊全與測試OK.沒有什麼問題!!!
==>上線環境的程式 才會做更新


@APP
訂單查詢畫面(訂單追蹤手機版/line購物車/網站後台)
訂單查詢畫面用同一種格式,但程式沒用同一支 ,跟後端查詢的回傳的程式 用同一支程式

log.txt 可以在設定檔設定
是否寫入log.txt: 正式上線版改N


會員未付款 可選擇取消交易,(目前尚未做)
會員已付款 可選擇取消交易,若是按支付方式,退回該金額回其帳戶(目前尚未做)


@網站程式
訂單查詢畫面(訂單追蹤手機版/line購物車/網站後台)
訂單查詢畫面用同一種格式,但程式沒用同一支 ,跟後端查詢的回傳的程式 用同一支程式

log.txt 可以在設定檔設定
是否寫入log.txt: 正式上線版改N

LINE Rich Menus 這個程式有改,上線的時候,要記得所有官方帳號都要更新???!(這點要注意)

日記帳--新增功能.以後會由這當作收支紀錄....




@line購物車
訂單查詢畫面(訂單追蹤手機版/line購物車/網站後台)
訂單查詢畫面用同一種格式,但程式沒用同一支 ,跟後端查詢的回傳的程式 用同一支程式

log.txt 可以在設定檔設定
是否寫入log.txt: 正式上線版改N

結帳時,可選擇LINEPay付款,若付款失敗,可到訂單查詢那邊,重新付款(正在修改中)

訂單查詢,未付款 可再次付款(正在修改中)
訂單查詢,未付款 可選擇取消交易(正在修改中)

===================
訂單狀態碼
01 "待付款" ;
02 "已付款" ;
11 "店家已確認" ;
21 "製作中" ;
22 "製作完" ;
31 "送餐中" ;
32 "送餐完" ;
41 "訂單取消" ;
42 "已退款" ;
91 "訂單完成" ;









2020年4月1日 星期三

20200402

@APP
設定 存檔後,
1.網頁自動重置,回到登入畫面
2.QRCODE關閉
3.新訂單歸0

設定畫面 改為 
app name /app server /mqtt server 

@網站程式
統一參數定義檔
增加 mqtt設定

2020年3月31日 星期二

20200401

網站購物車 重大更新,
購物車區分 正式上線版本以及 沙盒版本
==================================
https://ezpos.info/mcart==> 此為正式上線網址
https://ezpos.info/sandbox-mcart/ ==>此為沙盒網址,
==================================

購物車區分 正式上線版本以及 沙盒版本(測試版)
資料庫也是不同喔!!!
line官方帳號 可以設定正式版上線版或是沙盒版本
好處,就是有測試環境....測試環境沒問題,就把程式碼移植到正式上線環境


@line購物車
https://ezpos.info/mcart==> 更新為最新版




@web購物車
https://ezpos.info/mcart==> 更新為最新版


@webadmin後台
https://ezpos.info/mcart==> 更新為最新版


@APP
設定 存檔後,網頁自動重置,回到登入畫面




2020年3月28日 星期六

20200328

@webadmin後台
Excel匯入--商品資料 修正選取檔案 失效
基本資料--增加員工資料

20200327

@line購物車
結帳畫面, 內用 移到最下面




@web購物車



@webadmin後台

20200323

增加 系統參數檔--可設定網址變數...(此為檔案,無線上設定介面)

<?php
//統一參數定義檔 v20200316
//
//

define("web_appName","sandbox-mcart"); //應用程式英文名稱
define("web_appCName","雲服務"); //應用程式中文名稱
define("web_srvUrl","https://ezpos.info/sandbox-mcart/"); //網站主機位置,後面要帶 /


define("web_poweredbyUrl","https://ezpos.info/ezpos/index13.php?com_id=1910140001"); //開發團隊網址
define("web_poweredbyName","newpos"); //開發團隊名稱

//line    api-data.line.me
define("line_webUrl","https://static.line-scdn.net/liff/edge/2.1/sdk.js"); //line使用的library
define("line_notify_oauthUrl","https://notify-bot.line.me/oauth/");      //有兩組相同的,但網址最後不相同
//define("line_notify_oauthUrl","https://notify-bot.line.me/oauth/token"
define("line_notify_apiUrl","https://notify-api.line.me/api/notify");

//define("line_liffUrl","line://app/");
define("line_botUrl","https://api.line.me/v2/bot/");
define("line_profileUrl","https://api.line.me/v2/bot/profile/");

//升級
define("line_liffUrl","https://liff.line.me/");
//define("line_botUrl","https://api-data.line.me/v2/bot/");
//define("line_profileUrl","https://api-data.line.me/v2/bot/profile/");

define("line_sandbox_payUrl","https://sandbox-api-pay.line.me/v2/payments/");
define("line_payUrl","https://api-pay.line.me/v2/payments/");
//php echo srv_WebUrl;







//用於db_connect.php
//define('DB_DATABASE', "xxxx"); // database name 
define('DB_DATABASE', "xxxxt"); // database name         mcart_0989000001   sandbox-mcart
define('DB_SERVER', "xxx1"); // db server 

define('DB_USER', "xxx"); // db user 
define('DB_PASSWORD', "xxxxxx"); // db password





//用於db_func.php
define("srv_mail_username","xxxxxx"); //mail服務器帳號
define("srv_mail_password","xxxx"); //mail服務器密碼
define("srv_url","xxxxx"); //網址

define("web_email","webservice@ezpos.com"); //寄件者email
define("web_name","購物車--發信系統"); //web平台名稱

//define("app_name","mcart"); //網址

?>