Skip to content

Commit

Permalink
[*]用户加入社团并获取自己的列表
Browse files Browse the repository at this point in the history
  • Loading branch information
dark-wind committed Apr 22, 2017
1 parent 4c6ede6 commit 5502a46
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions widget/script/xcom.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,9 @@ function join() {
soicety_id: id,
},
}
}, function (res, msg) {
api.alert({msg: JSON.stringify(res)});
}, function (ret, msg) {
api.alert({msg: JSON.stringify(ret)});
if (ret) {
api.alert(ret.msg);
if (ret.code == 'ok') {
api.openWin({
name: 'society',
Expand Down

0 comments on commit 5502a46

Please sign in to comment.