18
18
* @date 2019/01/23
19
19
*/
20
20
public interface WxOpenFastMaService extends WxMaService {
21
-
22
21
/**
23
- * 1 获取帐号基本信息
22
+ * 1 获取帐号基本信息.
24
23
*/
25
24
String OPEN_GET_ACCOUNT_BASIC_INFO = "https://api.weixin.qq.com/cgi-bin/account/getaccountbasicinfo" ;
26
25
27
26
/**
28
- * 2 小程序名称设置及改名
27
+ * 2 小程序名称设置及改名.
29
28
*/
30
29
String OPEN_SET_NICKNAME = "https://api.weixin.qq.com/wxa/setnickname" ;
31
30
32
31
/**
33
- * 3 小程序改名审核状态查询
32
+ * 3 小程序改名审核状态查询.
34
33
*/
35
34
String OPEN_API_WXA_QUERYNICKNAME = "https://api.weixin.qq.com/wxa/api_wxa_querynickname" ;
36
35
37
36
/**
38
- * 4 微信认证名称检测
37
+ * 4 微信认证名称检测.
39
38
*/
40
39
String OPEN_CHECK_WX_VERIFY_NICKNAME = "https://api.weixin.qq.com/cgi-bin/wxverify/checkwxverifynickname" ;
41
40
42
41
/**
43
- * 5 修改头像
42
+ * 5 修改头像.
44
43
*/
45
44
String OPEN_MODIFY_HEADIMAGE = "https://api.weixin.qq.com/cgi-bin/account/modifyheadimage" ;
46
45
47
46
/**
48
- * 6修改功能介绍
47
+ * 6修改功能介绍.
49
48
*/
50
49
String OPEN_MODIFY_SIGNATURE = "https://api.weixin.qq.com/cgi-bin/account/modifysignature" ;
51
50
52
51
/**
53
- * 7 换绑小程序管理员接口
52
+ * 7 换绑小程序管理员接口.
54
53
*/
55
54
String OPEN_COMPONENT_REBIND_ADMIN = "https://api.weixin.qq.com/cgi-bin/account/componentrebindadmin" ;
56
55
@@ -79,37 +78,43 @@ public interface WxOpenFastMaService extends WxMaService {
79
78
/**
80
79
* 1.获取小程序的信息
81
80
*
82
- * @return
83
- * @throws WxErrorException
81
+ * @return .
82
+ * @throws WxErrorException .
84
83
*/
85
84
WxFastMaAccountBasicInfoResult getAccountBasicInfo () throws WxErrorException ;
86
85
87
86
/**
88
87
* 2.小程序名称设置及改名
89
- * <pre>
88
+ * <pre>
90
89
* 若接口未返回audit_id,说明名称已直接设置成功,无需审核;若返回audit_id则名称正在审核中。
91
90
* </pre>
92
- * @param nickname 昵称
93
- * @param idCard 身份证照片–临时素材mediaid(个人号必填)
94
- * @param license 组织机构代码证或营业执照–临时素材mediaid(组织号必填)
91
+ *
92
+ * @param nickname 昵称
93
+ * @param idCard 身份证照片–临时素材mediaid(个人号必填)
94
+ * @param license 组织机构代码证或营业执照–临时素材mediaid(组织号必填)
95
95
* @param namingOtherStuff1 其他证明材料---临时素材 mediaid
96
96
* @param namingOtherStuff2 其他证明材料---临时素材 mediaid
97
- * @throws WxErrorException
97
+ * @return .
98
+ * @throws WxErrorException .
98
99
*/
99
- WxFastMaSetNickameResult setNickname (String nickname , String idCard , String license , String namingOtherStuff1 , String namingOtherStuff2 ) throws WxErrorException ;
100
+ WxFastMaSetNickameResult setNickname (String nickname , String idCard , String license , String namingOtherStuff1 ,
101
+ String namingOtherStuff2 ) throws WxErrorException ;
100
102
101
103
/**
102
104
* 3 小程序改名审核状态查询
105
+ *
103
106
* @param auditId 审核单id
104
- * @return
105
- * @throws WxErrorException
107
+ * @return .
108
+ * @throws WxErrorException .
106
109
*/
107
110
WxFastMaQueryNicknameStatusResult querySetNicknameStatus (String auditId ) throws WxErrorException ;
108
111
109
112
/**
110
113
* 4. 微信认证名称检测
114
+ *
111
115
* @param nickname 名称
112
- * @throws WxErrorException
116
+ * @return .
117
+ * @throws WxErrorException .
113
118
*/
114
119
WxFastMaCheckNickameResult checkWxVerifyNickname (String nickname ) throws WxErrorException ;
115
120
@@ -119,29 +124,34 @@ public interface WxOpenFastMaService extends WxMaService {
119
124
* 图片格式只支持:BMP、JPEG、JPG、GIF、PNG,大小不超过2M
120
125
* 注:实际头像始终为正方形
121
126
* </pre>
127
+ *
122
128
* @param headImgMediaId 头像素材media_id
123
- * @param x1 裁剪框左上角x坐标(取值范围:[0, 1])
124
- * @param y1 裁剪框左上角y坐标(取值范围:[0, 1])
125
- * @param x2 裁剪框右下角x坐标(取值范围:[0, 1])
126
- * @param y2 裁剪框右下角y坐标(取值范围:[0, 1])
127
- * @throws WxErrorException
129
+ * @param x1 裁剪框左上角x坐标(取值范围:[0, 1])
130
+ * @param y1 裁剪框左上角y坐标(取值范围:[0, 1])
131
+ * @param x2 裁剪框右下角x坐标(取值范围:[0, 1])
132
+ * @param y2 裁剪框右下角y坐标(取值范围:[0, 1])
133
+ * @return .
134
+ * @throws WxErrorException .
128
135
*/
129
136
WxOpenResult modifyHeadImage (String headImgMediaId , float x1 , float y1 , float x2 , float y2 ) throws WxErrorException ;
130
137
131
138
/**
132
139
* 6.修改功能介绍
140
+ *
133
141
* @param signature 简介:4-120字
134
- * @throws WxErrorException
142
+ * @return .
143
+ * @throws WxErrorException .
135
144
*/
136
145
WxOpenResult modifySignature (String signature ) throws WxErrorException ;
137
146
138
147
/**
139
148
* 7.3 管理员换绑
140
- * @param taskid 换绑管理员任务序列号(公众平台最终点击提交回跳到第三方平台时携带)
141
- * @return
142
- * @throws WxErrorException
149
+ *
150
+ * @param taskId 换绑管理员任务序列号(公众平台最终点击提交回跳到第三方平台时携带)
151
+ * @return .
152
+ * @throws WxErrorException .
143
153
*/
144
- WxOpenResult componentRebindAdmin (String taskid ) throws WxErrorException ;
154
+ WxOpenResult componentRebindAdmin (String taskId ) throws WxErrorException ;
145
155
146
156
/**
147
157
* 8.1 获取账号可以设置的所有类目
@@ -150,38 +160,45 @@ public interface WxOpenFastMaService extends WxMaService {
150
160
* 目前没有完整的类目信息数据
151
161
* 为保证兼容性,放弃将response转换为实体
152
162
* </pre>
153
- * @return
163
+ *
164
+ * @return .
165
+ * @throws WxErrorException .
154
166
*/
155
167
String getAllCategories () throws WxErrorException ;
156
168
157
169
/**
158
- *8.2添加类目
159
- * @return
160
- * @throws WxErrorException
170
+ * 8.2添加类目
171
+ *
172
+ * @param categoryList 类目列表
173
+ * @return .
174
+ * @throws WxErrorException .
161
175
*/
162
176
WxOpenResult addCategory (List <WxFastMaCategory > categoryList ) throws WxErrorException ;
163
177
164
178
/**
165
179
* 8.3删除类目
166
- * @param first 一级类目ID
180
+ *
181
+ * @param first 一级类目ID
167
182
* @param second 二级类目ID
168
- * @return
169
- * @throws WxErrorException
183
+ * @return .
184
+ * @throws WxErrorException .
170
185
*/
171
186
WxOpenResult deleteCategory (int first , int second ) throws WxErrorException ;
172
187
173
188
/**
174
189
* 8.4获取账号已经设置的所有类目
175
- * @return
176
- * @throws WxErrorException
190
+ *
191
+ * @return .
192
+ * @throws WxErrorException .
177
193
*/
178
194
WxFastMaBeenSetCategoryResult getCategory () throws WxErrorException ;
179
195
180
196
/**
181
197
* 8.5修改类目
198
+ *
182
199
* @param category 实体
183
- * @return
184
- * @throws WxErrorException
200
+ * @return .
201
+ * @throws WxErrorException .
185
202
*/
186
203
WxOpenResult modifyCategory (WxFastMaCategory category ) throws WxErrorException ;
187
204
}
0 commit comments