摘要:
getOrder($orderId); //总价 $totalPrice = $orderDatas['nf_orderPrice']; //订单号 $orderNum = $orderDatas['nf_orderNumber']; //用户openid $openid = $_P... 阅读全文
摘要:
getAppid(); $conf['timestamp'] = time(); $conf['nonceStr'] = "Wm3WZYTPz0wzccnW"; $conf['signature'] = $this->getSignature($conf['nonceStr'],$conf['timestamp'],$url); $... 阅读全文
摘要:
getOneByOpenid($openid); if (!empty($ud)) { return $this->getData($ud); } else { //没有找到为新的用户直接保存用户的信息进数据库,然后取出返回 $userData = $t... 阅读全文
摘要:
getAccessToken(array('id' => 1)); //赋值公众号的appid和secret self::$appid = $data['nf_appid']; self::$secret = $data['nf_appsecret']; //判断数据库里值是否为空 if (empty($data['... 阅读全文