|
@@ -16,7 +16,6 @@ class Zh_tcwqModuleWxapp extends WeModuleWxapp {
|
|
public function __construct() {
|
|
public function __construct() {
|
|
|
|
|
|
global $_W, $_GPC;
|
|
global $_W, $_GPC;
|
|
- var_dump($_GPC['details']);die;
|
|
|
|
if ($_GPC['details']) {
|
|
if ($_GPC['details']) {
|
|
function getaccess_token($_W) {
|
|
function getaccess_token($_W) {
|
|
$res = pdo_get('zhtc_system', array('uniacid' => $_W['uniacid']));
|
|
$res = pdo_get('zhtc_system', array('uniacid' => $_W['uniacid']));
|
|
@@ -43,7 +42,6 @@ class Zh_tcwqModuleWxapp extends WeModuleWxapp {
|
|
$data = curl_exec($ch);
|
|
$data = curl_exec($ch);
|
|
curl_close($ch);
|
|
curl_close($ch);
|
|
$res = json_decode($data, true);
|
|
$res = json_decode($data, true);
|
|
- print_r($res);die;
|
|
|
|
if ($res['errcode'] == 87014) {
|
|
if ($res['errcode'] == 87014) {
|
|
return '文字内容违规,请重新输入!';
|
|
return '文字内容违规,请重新输入!';
|
|
}
|
|
}
|