Exemplo n.º 1
0
        /// <summary>
        /// 新建sheet
        /// </summary>
        /// <param name="requestMsg">请求信息</param>
        /// <param name="gridKey">execl文档key</param>
        /// <returns></returns>
        private static async Task Operation_Sha(JObject requestMsg, string gridKey)
        {
            // 请求信息
            var jObject = requestMsg.Value <JObject>();
            var v       = jObject.Value <JObject>("v");

            string index  = v.Value <string>("index");
            int    status = v.Value <int>("status");
            int    order  = v.Value <int>("order");

            // 提交修改
            await SheetService.AddSheet(gridKey, index, v.ToJson(), status, order, 0);
        }