anchor.diff:      //发送消息
       function SendPoetry(type){
           var message = $("input[name=sa_tail]").val();
  -        if(message.trim()==="")
  +        if($.trim(message)==="")
               return;
           $("input[name=sa_tail]").val("");
           ShowMsg("mychat",message,type);
  
positive.code: 
      //显示消息
      function ShowMsg(role,message,type){
          $("input[name=sa_tail]").val("");
          if(message.trim()==""){return;}
          var mychat = $("<li></li>");
          mychat.append(message);
          mychat.addClass(role);
  
negative.code:             },
              complete:function(){$("#loadingToast").hide();},
              success:function(data){
  //                console.log(data);
                  if(data.result==true){
                      SendPoetry("round");
                  }
                  else {
                      ShowMsg("autochat",data.reason,"error");
                  }
              },
              error:function(data){
                  console.log(data);
                  ShowMsg("autochat","服务器错误","error");
              }
          });
      }
  