1 Star 11 Fork 3

CzSatan / LuckSheet_.NetCore

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

LuckSheet_.NetCore

介绍

使用.net core 3.1和Npoi 制作基于LuckSheet的基础导出 欢迎大家完善修补

使用说明

  1. 上传是必须拥有config和celldata

  2. 上传是内容以JSON格式上传

  3. 前端加密使用的是pako,下面是加密解密方法 ///GZIP解密 function unzip(b64Data) { var strData = atob(b64Data); var charData = strData.split('').map(function (x) { return x.charCodeAt(0); }); var binData = new Uint8Array(charData); var data = pako.inflate(binData); strData = String.fromCharCode.apply(null, new Uint16Array(data)); return decodeURIComponent(strData); }

    ///GZIP加密
    function zip(str) {
        var binaryString = pako.gzip(encodeURIComponent(str), { to: 'string' })
        return btoa(binaryString);
    }

参与贡献

特技

Repository Comments ( 2 )

Sign in to post a comment

About

前端压缩使用的是pako 使用.net core 3.1和Npoi 制作基于LuckSheet的基础导出,欢迎大家完善修补 expand collapse
C#
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
C#
1
https://gitee.com/xiong-kangli/luck-sheet_.-net-core.git
git@gitee.com:xiong-kangli/luck-sheet_.-net-core.git
xiong-kangli
luck-sheet_.-net-core
LuckSheet_.NetCore
master

Search