04 2019 档案
摘要:支付回调代码如下: 然后是你自己的逻辑处理。。。
阅读全文
摘要:#include #include void array_sort(int *a, int len) { int i, j, tmp; for (i = 0; i a[j]) { tmp = a[i]; a[i] = a[j]; a[j] = tmp; ...
阅读全文
摘要:一、功能界面 具体的详细代码:https://github.com/yangsphp/websocket-master/tree/master 二、具体代码实现 1、前端代码如下 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8
阅读全文
摘要:/** * @param $ip 待查询的ip * @return mixed */ function getIpAddressInfo($ip) { $ipurl = 'http://api.ip138.com/query/?ip=' . $ip . '&datatype=txt'; $ipheader = array('token:注册的token'); $ip...
阅读全文
摘要:initialize($config); } /** * 初始化数据 * @param array $config 配置文件数组 */ public function initialize(array $config = []) { $this->host = $config['host']; $th...
阅读全文
摘要:数组打印结果为 参考文档:https://github.com/yangsphp/simple_html_dom-master
阅读全文