webapi 返回字符串带斜扛 public JObject *****(string username) { JObject jo = new JObject(); return jo; } 函数返回类型修改为对象即可。