Code Monkey home page Code Monkey logo

weixin-java-demo-springmvc's Introduction

doodles


码云Gitee Github Build Status

This repository is a wechat springmvc demo based on WxJava

本仓库的项目是一个基 于**WxJava** 的springmvc Demo.

新手遇到问题,请务必先阅读【开发文档首页】的常见问题部分,可以少走很多弯路,节省不少时间。

本项目目前实现了如下功能:

  • 与微信服务器的AES加密通信
  • 微信支付
  • 商户号向个人用户转账
  • 自定义菜单
  • 关注公众号、客服消息路由处理
  • 模版消息
  • 通过openid获取用户基本信息
  • 通过code获得基本用户信息

Welcome to Pull Requests!

欢迎大家积极Pull Requests来丰富此Demo的功能!

快速使用:

将项目下载到本地

git clone https://github.com/wechat-group/weixin-java-demo-springmvc

配置公众号信息

打开src/main/resources/wx.properties文件,配置公众号相关信息。

Maven打包

mvn war:war

上传至服务器

必须使用服务器的80端口才能与微信服务器进行交互。

微信公众平台服务器配置

进入到微信公众平台开发/基本配置页面,配置URL(服务器地址)Token(令牌)EncodingAESKey(消息加解密密钥)

URL(服务器地址):http://192.168.1.1/wechatTestService/core

License

  • 本项目的所有代码除另有说明外,均按照 MIT License 发布。
  • 本项目的.java,README.MD,wiki等资源基于CC BY-NC-SA 4.0 这意味着你可以拷贝、并再发行本项目的内容,但是你将必须同样提供原作者信息以及协议声明。同时你也不能将本项目用于商业用途, 按照我们狭义的理解(增加附属条款),凡是任何盈利的活动皆属于商业用途
  • 请在遵守当地相关法律法规的前提下使用本项目。

img-source-from-https://github.com/docker/dockercraft

weixin-java-demo-springmvc's People

Contributors

binarywang avatar firenzeseagle avatar dependabot[bot] avatar kareanyi avatar free2dog avatar hellococooo avatar jacky-gz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.