Commit c8997eae by 牛晓林

latest

parent 866e4b64
......@@ -2752,3 +2752,44 @@
[29-Jan-2019 09:11:43 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:11:43 UTC] The woocommerce_get_page_id function is deprecated since version 3.0. Replace with wc_get_page_id.
[29-Jan-2019 09:15:14 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:15:14 UTC] WP_Weixin_Wechat->__call on line 49 - Wechat_SDK::getAccessToken: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:14 UTC] WP_Weixin_Wechat->__call on line 50 - Wechat_SDK::getAccessTokenExpiry: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:16 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:15:16 UTC] WP_Weixin_Wechat->__call on line 49 - Wechat_SDK::getAccessToken: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:16 UTC] WP_Weixin_Wechat->__call on line 50 - Wechat_SDK::getAccessTokenExpiry: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:18 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:15:18 UTC] WP_Weixin_Wechat->__call on line 49 - Wechat_SDK::getAccessToken: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:18 UTC] WP_Weixin_Wechat->__call on line 50 - Wechat_SDK::getAccessTokenExpiry: Array
(
[code] => 40125
[message] => Unknown error
)
[29-Jan-2019 09:15:23 UTC] WP_Weixin_Wechat_Singleton::get_wechat on line 57: renewing token !
[29-Jan-2019 09:15:23 UTC] The woocommerce_get_page_id function is deprecated since version 3.0. Replace with wc_get_page_id.
# Windows
[Dd]esktop.ini
Thumbs.db
$RECYCLE.BIN/
# macOS
.DS_Store
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
# Node.js
node_modules/
......@@ -13,8 +13,8 @@ App({
data: {
version: '1.8',
versionDate: '20190102',
siteURL: 'http://192.168.19.226/wordpress',
name: 'WooCommerce微信小程序',
siteURL: 'http://192.168.19.208/',
name: '中茶',
logo: '/images/woo-logo.png',
apiPath: 'wp-json/w2w/v1/',
apiList: {
......
......@@ -14,7 +14,7 @@
"compileType": "miniprogram",
"libVersion": "2.5.0",
"appid": "wxa2ef6077d359bd09",
"projectname": "%E4%B8%AD%E8%8C%B6",
"projectname": "%E4%B8%AD%E8%8C%B6%E5%B0%8F%E7%A8%8B%E5%BA%8F",
"debugOptions": {
"hidedInDevtools": []
},
......
......@@ -20,7 +20,7 @@
$currenthost = "http://".$_SERVER['HTTP_HOST'];
// ** MySQL 设置 - 具体信息来自您正在使用的主机 ** //
/** WordPress数据库的名称 */
if($_SERVER['HTTP_HOST']=="localhost"){
if($_SERVER['HTTP_HOST']=="localhost" || $_SERVER['HTTP_HOST']== "192.168.19.208" || $_SERVER['HTTP_HOST']=="192.168.19.226"){
define('DB_NAME', 'wordpress');
define('DB_USER', 'root');
......@@ -81,7 +81,7 @@ $table_prefix = 'wp_';
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', false);
define('WP_DEBUG', true);
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
......
......@@ -147,7 +147,7 @@ class WP_Weixin_Wechat_Singleton {
}
$configuration_fail = ! $appid || ! $secret || ( $encode && ! $aeskey ) || ( $responder && ! $token );
$configuration_fail = $configuration_fail || ( $ecommerce && ( ! $mch_id || ! $mch_key ) );
// $configuration_fail = $configuration_fail || ( $ecommerce && ( ! $mch_id || ! $mch_key ) );
if ( $configuration_fail ) {
......
2019-01-30T02:51:49+00:00 INFO 订单查询: {"return_code":"FAIL","return_msg":"mch_id\u53c2\u6570\u683c\u5f0f\u9519\u8bef"}
2019-01-30T03:04:43+00:00 ERROR 微信API请求错误: {"request":{"offset":0,"count":10},"response":{"headers":{},"body":"{\"errcode\":40001,\"errmsg\":\"invalid credential, access_token is invalid or not latest hint: [dHDU5a0482vr49!]\"}","response":{"code":200,"message":"OK"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}}
2019-01-30T03:51:33+00:00 WARNING 请到设置-模板消息页面导入模板
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment