www.gusucode.com > ecShop PHP网上商城系统 粉丝修复版 v2.7.3源码程序 > ecshop_xf_v2.7.3/includes/prism-php/examples/include.php
<?php //鍒濆?鍖 require_once('../lib/client.php'); $url = 'http://127.0.0.1:8080/api'; $key = 'xkg3ydnm'; $secret = '56dygmyhrfuhuwrdst3c'; $c = new prism_client($url, $key, $secret); //瀹炴椂鎵撳嵃log $c->set_logger(function($message){ echo $message; flush(); });