1、返回UserEntityList 这个服务接口的目的是分为用户列表,代码如下所示。 /// <summary> /// 得到用户列表 /// </summary> /// <returns></returns> [HttpGet] [Route("GetUserList")] public ActionResult<List<UserEntity>> GetUserList() { var myUserEntityList = new List<UserEntity>() { new UserEntity(){ GUID="A",UserName="AA",Password="", Tel="AAA"}, new UserEntity(){ GUID="B",UserName="BB",Password="", Tel="BBB"}, new UserEntity(){ GUID="C",UserName="CC",Password="", Tel="CCC"}, new UserEntity(){ GUID="D",UserName="DD",Password="",...