edit-sylive-wxapp

This commit is contained in:
lccsw
2022-10-21 15:02:11 +08:00
parent 2ea0c4cf71
commit 7b14bdabda
9 changed files with 72 additions and 26 deletions
+3 -3
View File
@@ -18,8 +18,8 @@ class Syt extends CI_Controller
parent::__construct();
$this->options = [
'token' => '',
'appid' => 'wxe66f905683582780',
'appsecret' => '9546cd4de877be13ce203f3e6140633f',
'appid' => 'wxbdec8558931efffd',
'appsecret' => '583b3cd0d8e145009eda61ece003ca14',
'encodingaeskey' => '',
'debug' => false
];
@@ -39,7 +39,7 @@ class Syt extends CI_Controller
public function subscribemsg()
{
$this->load->model('market/market_sylive_subscribemsg_model', 'mdSytSubscribemsg');
$date = date('Y-m-d H:i:s', strtotime('+2 minute'));//提前2分钟发送
$date = date('Y-m-d H:i:s', strtotime('+10 minute'));//提前10分钟发送
$where['s_time<='] = $date;
$where['status'] = 0;
$res = $this->mdSytSubscribemsg->select($where, 'id asc', 1, 200);
+29
View File
@@ -0,0 +1,29 @@
<?php
/**
* 东创紫联配置账号信息
*/
define('LICHE_APICLIENT_CERT','');
define('LICHE_APICLIENT_KEY','');
class WxPayConfig
{
const APPID = 'wxbdec8558931efffd';
const APPSECRET = '583b3cd0d8e145009eda61ece003ca14';
const MCHID = '1614399682';
const KEY = 'fce3d5d4e421ed4f2fa9ee6ebdb26ea9';
const SIGN_TYPE = 'MD5';
const NOTIFY_URL = '';
//=======【证书路径设置】=====================================
const SSLCERT_PATH = LICHE_APICLIENT_CERT;
const SSLKEY_PATH = LICHE_APICLIENT_KEY;
//=======【curl代理设置】===================================
const CURL_PROXY_HOST = "0.0.0.0";//"10.152.18.220";
const CURL_PROXY_PORT = 0;//8080;
//=======【上报信息配置】===================================
const REPORT_LEVENL = 1;
}
+2 -2
View File
@@ -7,8 +7,8 @@ define('LICHE_APICLIENT_KEY',dirname(__FILE__).'/hdy_cert/apiclient_key.pem');
class WxPayConfig
{
const APPID = 'wxe66f905683582780';
const APPSECRET = '9546cd4de877be13ce203f3e6140633f';
const APPID = 'wxbdec8558931efffd';
const APPSECRET = '583b3cd0d8e145009eda61ece003ca14';
const MCHID = '1604032585';
const KEY = 'resthismdSytActivityKpiDaresthis';
const SIGN_TYPE = 'MD5';