- ## API站点,管理后台添加目录文件
![](https://img.kancloud.cn/43/ec/43ec846c07e7c1a6df8e5fa2b57d7972_1870x1054.png)
- ## 配置文件
```
{
"port": 7001, // 启动端口号
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"username": "artworks",
"password": "AdzAEMCcr7GyYZs4",
"database": "artworks"
},
"redis": {
"port": 6379,
"host": "127.0.0.1",
"password": "",
"db": 1
},
"kuaishou_class": 1273,
"douyin_notify_url": "https://域名/api/openApi/mpDouyinPayNotifyUrl",
"kuaishou_notify_url": "https://域名/api/openApi/mpKuaishouPayNotifyUrl",
"weixin_notify_url": "https://域名/api/openApi/mpweixinPayNotifyUrl",
"h5Address": "http://公众号域名/",
"weixin_redirect_url": "https://域名/api/weixinOfficial/redirectUrl",
"s": "授权码",
"t": "s",
"m": "授权域名",
"platform": "linux",
"arch": "x64",
"location": "/public/phantomjs"
}
```
![](https://img.kancloud.cn/4f/26/4f261b60754e0a7f7e6a9d5cbd8b2c2e_1570x710.png)