啊鑫
8 天以前 59af98c2aeb6c40d820e8d5c2f9f6764f57721bd
Controllers/LoginController.cs
@@ -134,4 +134,32 @@
            return ResponseResult.ResponseError(ex);
        }
    }
    /// <summary>
    ///     切换组织
    /// </summary>
    /// <param name="model"></param>
    /// <returns></returns>
    [HttpPost("changeOrg")]
    public ResponseResult changeOrg([FromBody] dynamic model)
    {
        //登录
        try
        {
            dynamic resultInfos = new ExpandoObject();
            var tbBillList = new LoginService().changeOrg(model);
            resultInfos.tbBillList = tbBillList;
            return new ResponseResult
            {
                status = 0,
                message = "OK",
                data = resultInfos
            };
        }
        catch (Exception ex)
        {
            return ResponseResult.ResponseError(ex);
        }
    }
}