node-easywechat 2.11.1 → 2.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ export default class PrivacyClient extends BaseClient {
|
|
|
6
6
|
* 查询小程序用户隐私保护指引
|
|
7
7
|
* @see https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/privacy_config/get_privacy_setting.html
|
|
8
8
|
*/
|
|
9
|
-
get(): Promise<any>;
|
|
9
|
+
get(params?: object): Promise<any>;
|
|
10
10
|
/**
|
|
11
11
|
* 配置小程序用户隐私保护指引
|
|
12
12
|
* @see https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/privacy_config/set_privacy_setting.html
|
|
@@ -9,8 +9,8 @@ class PrivacyClient extends BaseClient_1.default {
|
|
|
9
9
|
* 查询小程序用户隐私保护指引
|
|
10
10
|
* @see https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/privacy_config/get_privacy_setting.html
|
|
11
11
|
*/
|
|
12
|
-
get() {
|
|
13
|
-
return this.httpPostJson('cgi-bin/component/getprivacysetting');
|
|
12
|
+
get(params = {}) {
|
|
13
|
+
return this.httpPostJson('cgi-bin/component/getprivacysetting', params);
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* 配置小程序用户隐私保护指引
|