#Help

Web Api HelpPage

为了方面APP开发人员,服务端的接口都应当提供详尽的API说明。但每次有修改,既要维护代码,又要维护文档,一旦开发进度紧张,很容易导致代码与文档不一致。WebAPI有一个HelpPage插件,可以很方便的根据代码及注释自动生成相关API说明页面。HelpPage安装步骤及扩展(以VS2015为例):右键点击WebAPI...
代码星球 代码星球·2020-04-05

com.github.pagehelper.PageHelper cannot be cast to org.apache.ibatis.plugin.Interceptor

 <dependency><groupId>com.github.pagehelper</groupId><artifactId>pagehelper</artifactId><version>4.0.0</version>&...

ApiHelper

publicstaticclassApiHelper{publicstaticReslultInfo<K>Try<K>(Action<ReslultInfo<K>>action){varr=newReslultInfo<K>();try{action(r);}...
代码星球 代码星球·2020-04-04

NPOIHelper

varkaoshiId=this.KaoshiId;DataTabledt=_IChengjiContract.ToChengjiTable(kaoshiId,0L);NPOIHelper.ExportByWeb(dt,this.Kaoshi.Name,this.Kaoshi.Name); ...
代码星球 代码星球·2020-04-04

DbHelper第三版, 数据库通吃

usingSystem;usingSystem.Collections;usingSystem.Data;usingSystem.Data.Common;usingSystem.Configuration;namespaceLee.Data{   publicclassDataAccess...

各语言最原始数据库访问组件封装DBHelper

源码:https://github.com/easonjim/DBHelperbug提交:https://github.com/easonjim/DBHelper/issues每个语言放在不同的分支。...

使用 pagehelper 分页

//false关闭合理化true开启合理化(查询的页数没数据会返回最后一页数据)PageHelper.startPage(pageNum,pageSize,false);//默认开启合理化PageHelper.startPage(pageNum,pageSize);//按照字段排序PageHelper.orderBy(...
代码星球 代码星球·2020-04-01

[C#] 使用 StackExchange.Redis 封装属于自己的 RedisHelper

目前.NET使用访问Redis的的类库主流应该是 StackExchange.Redis,自己参考网上的文章(也许是吃饱了撑着),也尝试做出简单的封装。///<summary>///Redis助手///</summary>publicclassRedisHelper{///<su...

SpringBoot+Mybatis+ Druid+PageHelper 实现多数据源并分页

本篇文章主要讲述的是SpringBoot整合Mybatis、Druid和PageHelper 并实现多数据源和分页。其中SpringBoot整合Mybatis这块,在之前的的一篇文章中已经讲述了,这里就不过多说明了。重点是讲述在多数据源下的如何配置使用Druid和PageHelper。在使用Druid之前,先...

【PHP框架CodeIgniter学习】使用辅助函数—建立自己的JSONHelper

本文使用的是2.1.4版本,看的时候请注意。官方文档:http://codeigniter.org.cn/user_guide/general/helpers.html(关于辅助函数Helper的使用)一、辅助函数是什么       辅助函数,顾名思...

**CodeIgniter系列 添加filter和helper

filter:使用CI的hooks来实现filter.1.在system/application/config/config.php中,把enable_hooks的值改为TRUE $config['enable_hooks']=TRUE;2.在syste/application/config/hooks.ph...

【laravel5.4】laravel5.4系列之生成_ide_helper.php文件

在laravle中使用代码自动补全,比较方便开发,于是这边找到了相关的办法在laravel配置完好的情况下,同时安装好了composer。 进入代码的根目录执行composerrequirebarryvdh/laravel-ide-helper然后在config/app.php的providers中添加Bar...

【laravel5.*】添加ide_helper.php 助手

1、参照文档:https://github.com/barryvdh/laravel-ide-helper#automatic-phpdoc-generation-for-laravel-facades2、安装指定版本: composerrequirebarryvdh/laravel-ide-helper:2...

最全面的NSDateHelper 分享

代码下载:https://github.com/foxswang/NSDateUtil史上最全面NSDateUtility没有之一 常用格式化字符串满足80%工作使用场景/*MMMd,yyyyh:mma9月12,20157:36下午MMMd,yyyy9月12,2015MMMdh:mma9月127:36下午MM...
首页上一页...34567下一页尾页