Skip to content

Commit 563308d

Browse files
1. 修改项目名称
1 parent 147b08c commit 563308d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# 微信小程序接口封装类
1+
# 微信小程序php后端开发包
22
### 使用方法见demo.php

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "hillpy/mini-program-api",
3-
"description": "a miniprogram api library",
4-
"keywords": ["小程序", "miniprogram", "微信"],
2+
"name": "hillpy/mini-program-sdk",
3+
"description": "a miniprogram sdk",
4+
"keywords": ["小程序", "miniprogram", "微信", "wechat"],
55
"version": "1.0.0",
66
"type": "library",
77
"license": "MIT",
@@ -15,7 +15,7 @@
1515
"minimum-stability": "stable",
1616
"autoload": {
1717
"psr-4": {
18-
"hillpy\\MiniProgramApi\\": "src/"
18+
"hillpy\\MiniProgramSDK\\": "src/"
1919
}
2020
}
2121
}

demo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
use hillpy\MiniProgramApi;
3+
use hillpy\MiniProgramSDK;
44

55
$appid = '';
66
$appsecret = '';
77

8-
$MiniProgramApi = new MiniProgramApi($appid, $appsecret);
8+
$MiniProgramApi = new MiniProgramSDK($appid, $appsecret);
99

1010
$params['code'] = '';
1111
$params['rawData'] = '';

src/MiniProgramApi.php renamed to src/MiniProgram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
namespace hillpy;
88

9-
class MiniProgramApi
9+
class MiniProgramSDK
1010
{
1111
private $appId = '';
1212
private $appSecret = '';

0 commit comments

Comments
 (0)