20198 月2
项目介绍: NutzWk 是有五年多历史的Java Web开源开发框架,其5.x 是Java 微服务分布式版本,采用nutzboot(nutz核心)、dubbo、redis、zookeeper、shiro、quartz、beetl、logback、vue、sentinel(流控框架,可选)、seata(分布式事务,可选) 等开源技术的微服务分布式版本,自带系统管理、简易CMS、微信模块、定时任务、 Continue Reading
20193 月19
NutzWk 5.2.0 版本已发布,演示地址: https://nutzwk.wizzer.cn 源码Github:https://github.com/Wizzercn/NutzWk 码云Gitee:https://gitee.com/wizzer/NutzWk 后端技术架构:nutzboot + dubbo + sentinel + redis + zookeeper 前端技术架构:vue. Continue Reading
20191 月24
NutzWk 5.1.4 Vue版本已发布,演示地址: https://nutzwk.wizzer.cn 源码Github:https://github.com/Wizzercn/NutzWk 码云Gitee:https://gitee.com/wizzer/NutzWk NutzWk 5.1.4 更新内容: * 集成 Sentinel 流控框架,支持流量控制、熔断降级、系统负载保护 Continue Reading
201811 月12
NutzWk 5.1.0 Vue版本已发布,演示地址: https://nutzwk.wizzer.cn 源码Github:https://github.com/Wizzercn/NutzWk 码云Gitee:https://gitee.com/wizzer/NutzWk 本次更新内容: * wk-nb-web-vue 新增全新的Vue后台管理界面,基于Vue.js + Element.js 等, Continue Reading
20187 月19
项目首页:https://github.com/Wizzercn/MqttWk MqttWk 基于 nutzboot + t-io + redis + kafka 实现的MQTT服务broker 本项目代码主要来源于 netty/t-io/iot-mqtt-server 等众多项目,开源免费,欢迎交流学习 参考项目 https://github.com/netty/netty https://gi Continue Reading
20186 月9
NutzWk 5.x 已发布一段时间,这段时间基于此版本开发了智慧水务系统(NB-IOT)、某物联网平台、某设备租赁平台、某智慧睡眠平台、某智慧园区项目等,开发和部署过程中遇到一些小问题,开这个帖子把一些经验分享出来省的大家走弯路。 项目地址1: https://github.com/Wizzercn/NutzWk 项目地址2: https://gitee.com/wizzer/NutzWk 1、 Continue Reading
20184 月24
//设置代理 System.setProperty(“http.proxySet”, “true”); System.setProperty(“http.proxyHost”, “127.0.0.1”); System.setProperty(“http.proxyPort”, “1080”);
20182 月26
1、MainServer 启动类 /** * Created by Wizzer on 2018/2/26. */ @IocBean public class MainServer { private static final Log log = Logs.get(); public static void main(String[] args) { try { ComboIocLo Continue Reading
20181 月21
后台代码,自定义tag: package cn.wizzer.app.web.modules.tags; import cn.wizzer.app.web.commons.ex.elasticsearch.EsService; import cn.wizzer.app.web.commons.utils.YcDateUtil; import cn.wizzer.app.ycold.modules. Continue Reading
20181 月21
if (!esService.isExistsType(cfg.get(“es.index.name”), type)) { //初始化索引表 XContentBuilder mapping = jsonBuilder().startObject() .startObject(type) .startObject(“_all”)//设置IK分词 .field(“analyzer”, “ik_max Continue Reading
20179 月15
import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.OutputStream; import java.util.Random; import jav Continue Reading
20178 月11
/** * UTF中文字符编码和解码 * 中文字符占3个字节,前缀分别是:1110XXXX 10XXXXXX 10XXXXXX * * @author FreeDroid * */ public class Utf8codeANDdecode { public static void main(String[] args) { int ch = ‘我’; byte[] bytes = codeUT Continue Reading
20177 月30
public void newFile(File file){ try { if (file.createNewFile()) { System.out.println(“文件创建成功!”); } else { String cName = changeName(file); File files = new File(“.” + File.separator + cName); newFile( Continue Reading
20177 月4
后台JAVA代码: package cn.wizzer.app.web.modules.controllers.front.wx; import cn.wizzer.app.web.commons.base.Globals; import cn.wizzer.app.wx.modules.services.WxAddressService; import cn.wizzer.app. Continue Reading
20173 月23
1、wx_config 实体类添加三个字段,对应的表结构也要手动修改: @Column @Comment(“access_token”) @ColDefine(type = ColType.VARCHAR, width = 255) private String access_token; @Column @Comment(“access_token_expires”) @ColDefine(ty Continue Reading
20173 月17
pom.xml <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.2.2</version> </dependency> <depend Continue Reading
20173 月8
“医生,你得救救我们啊,我们在一起三年了都没有怀孕,父母还等着抱孙子呢!”医生:“这我也没办法啊,这都是你们自己的问题。”“不行啊,医生你帮帮我们吧。”医生:“首先,你们得各自找个女朋友。”
20171 月12
记得初入公司时,写的代码乱七八糟,错误百出,bug连连,不仅项目经理骂我,其他同事也对我怨声载道。后来听朋友介绍,就报了一个培训班。经过1个月的刻苦学习,终于功夫不负有心人啊—他们都骂不过我了。
201612 月17
我们单位来了个女上司,长的还算过的去,很凶,在单位经常欺负我们。。同事们就怂恿单身的我追求她,然后报复她,欺负她,在同事们的多方帮助下,不出一个月,我把女上司就追到手了。。。从此,我不但在单位受她欺负,到了家还受她欺负。 ……
201612 月8
Cnd cnd = Cnd.NEW(); if (!Strings.isBlank(src)) { cnd.and(“srcFrom”, “=”, src); } if (!Strings.isBlank(name)) { String[] n = StringUtils.split(name, ” “); SqlExpressionGroup group = new SqlExpressionG Continue Reading