-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.php
38 lines (36 loc) · 1.14 KB
/
example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/*
_ooOoo_
o8888888o
88" . "88
(| -_- |)
O\ = /O
____/`---'\____
.' \\| |// `.
/ \\||| : |||// \
/ _||||| -:- |||||- \
| | \\\ - /// | |
| \_| ''\---/'' | |
\ .-\__ `-` ___/-. /
___`. .' /--.--\ `. . __
."" '< `.___\_<|>_/___.' >'"".
| | : `- \`.;`\ _ /`;.`/ - ` : | |
\ \ `-. \_ __\ /__ _/ .-` / /
======`-.____`-.___\_____/___.-`____.-'======
`=---='
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
佛祖保佑 永无BUG
****************Powered by Adamin90***************
* @email: [email protected]
* Date: 2018/5/15
* Time: 23:48
* @link: https://www.lixiaopeng.top
**************************************************
*/
require_once("Duoduoke.php");
$config['client_id']="your client id";
$config['client_secret']="your client secret";
$config['duoduoke_redirect_url']=""; //可选
$config["access_token"]=""; //可选
$ddk=new Duoduoke($config);
echo $ddk->api_goods_cat_get();