Skip to content

Commit c667d48

Browse files
wicked-tc130zhanq
authored andcommitted
更正读取getPublicGroupInfos入参数据类型
1 parent 0c5d922 commit c667d48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android/src/io/jchat/android/JMessageModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,9 +1855,9 @@ public void gotResult(int status, String desc) {
18551855
public void getPublicGroupInfos(final ReadableMap map, final Callback success, final Callback fail) {
18561856
try {
18571857
String appKey = map.hasKey(Constant.APP_KEY) ? map.getString(Constant.APP_KEY) : "";
1858-
int start = Integer.parseInt(map.getString(Constant.START));
1859-
int count = Integer.parseInt(map.getString(Constant.COUNT));
1860-
String reason = map.getString(Constant.REASON);
1858+
int start = map.getInt(Constant.START);
1859+
int count = map.getInt(Constant.COUNT);
1860+
//String reason = map.getString(Constant.REASON);
18611861
JMessageClient.getPublicGroupListByApp(appKey, start, count, new RequestCallback<List<GroupBasicInfo>>() {
18621862
@Override
18631863
public void gotResult(int status, String desc, List<GroupBasicInfo> groupBasicInfos) {

0 commit comments

Comments
 (0)