|
@@ -105,7 +105,7 @@ class MyServerHandler extends ChannelInboundHandlerAdapter{
|
|
|
|
|
|
|
|
private String handleRegist(String msgStr) throws Exception{
|
|
private String handleRegist(String msgStr) throws Exception{
|
|
|
JSONObject json = new JSONObject();
|
|
JSONObject json = new JSONObject();
|
|
|
- json.put("code", 1);
|
|
|
|
|
|
|
+ json.put("code", 200);
|
|
|
|
|
|
|
|
if(StrUtil.isBlank(msgStr)) {
|
|
if(StrUtil.isBlank(msgStr)) {
|
|
|
return json.toString();
|
|
return json.toString();
|