コード例 #1
0
        public async Task <MessageModel <string> > TasksQzAdd(TasksQz p)
        {
            var data = new MessageModel <string>();
            var id   = (await _tasksQzServices.TasksQzAdd(p));

            if (id > 0)
            {
                data.response = id.ObjToString();
                data.msg      = "添加成功";
            }
            return(data);
        }