fix upload message isEmpty
This commit is contained in:
parent
e2083b1c47
commit
8d6fe31430
@ -61,6 +61,9 @@ public class AppController {
|
||||
public String sendQQ(@RequestBody JSONObject json) {
|
||||
File image = null;
|
||||
String ret;
|
||||
if(json.getString("message").isEmpty()){
|
||||
return "not message";
|
||||
}
|
||||
if (json.containsKey("image")) {
|
||||
image = HttpTools.syncDownload(json.getString("image"), System.currentTimeMillis() + ".png");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user