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"); //網址

?>