Skip to content

Commit 651f4fe

Browse files
committed
修复一封传话推送失败
1 parent 9f16da1 commit 651f4fe

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/YiFengChuanHua.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class YiFengChuanHua {
1010
proxy
1111
}) {
1212
_defineProperty(this, "_KEY", void 0);
13-
_defineProperty(this, "baseURL", 'https://www.phprm.com/services/push/trigger/');
13+
_defineProperty(this, "baseURL", 'https://www.phprm.com/services/push/send/');
1414
_defineProperty(this, "httpsAgent", void 0);
1515
const $key = {
1616
token,

dist/types/YiFengChuanHua.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface YiFengChuanHuaConfig {
99
}
1010
declare class YiFengChuanHua {
1111
protected _KEY: string;
12-
readonly baseURL = "https://www.phprm.com/services/push/trigger/";
12+
readonly baseURL = "https://www.phprm.com/services/push/send/";
1313
httpsAgent?: AxiosRequestConfig['httpsAgent'];
1414
constructor({ token, key, proxy }: YiFengChuanHuaConfig);
1515
send(sendOptions: sendOptions): Promise<result>;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "all-pusher-api",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "统一化推送服务API.",
55
"main": "dist/index.js",
66
"scripts": {

src/YiFengChuanHua.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface YiFengChuanHuaOptions {
1616

1717
class YiFengChuanHua {
1818
protected _KEY: string;
19-
readonly baseURL = 'https://www.phprm.com/services/push/trigger/';
19+
readonly baseURL = 'https://www.phprm.com/services/push/send/';
2020
httpsAgent?: AxiosRequestConfig['httpsAgent'];
2121

2222
constructor({ token, key, proxy }: YiFengChuanHuaConfig) {

0 commit comments

Comments
 (0)