|
|
|
|
290
|
String rtnCode = JsonUtils.getKeyResult(response, "code");
|
290
|
String rtnCode = JsonUtils.getKeyResult(response, "code");
|
291
|
if ("1000".equals(rtnCode)) {
|
291
|
if ("1000".equals(rtnCode)) {
|
292
|
ToastUtil.showToast(getApplicationContext(), "发布成功", Toast.LENGTH_SHORT);
|
292
|
ToastUtil.showToast(getApplicationContext(), "发布成功", Toast.LENGTH_SHORT);
|
|
|
293
|
finish();
|
293
|
} else {
|
294
|
} else {
|
294
|
String message = JsonUtils.getKeyResult(response, "desc");
|
295
|
String message = JsonUtils.getKeyResult(response, "desc");
|
295
|
ToastUtil.showToast(getApplicationContext(), message, Toast.LENGTH_SHORT);
|
296
|
ToastUtil.showToast(getApplicationContext(), message, Toast.LENGTH_SHORT);
|