View Code 编解码过滤器NewMutilCodecFactory.java,注意红色位置标记代码 packagecom.youxigu.wolf.net.codec;importjava.lang.reflect.Method;importjava.util.HashMap;importjava.util.Iterator;importjava.util.Map;importjava.util.Map.Entry;importorg.apache.mina.core.session.IoSession;importorg.apache.mina.filter...
client.hmset("mykey2",["name","mary2","age",100],function(error,res){ console.log("res:",res); }) client.hget("mykey2","name",function(err,res){ console.log("name:", res); }) client.set("node_redis_key", JSON.stringify({ "name": "wolfy", age: 28 }), function (erro...
username: "金星老师" } }) .then(function (response) { self.stu = response.data.data.hotCity; console.log(response.data.data.hotCity); }) .catch(function (error) { console.log(error); }) } show: function(){ //post方式 //var url = "http://bugwhy.com/php/index/getNews.php"; ...