P3-weixin WeChat plug-in development specification, p3-weixin plug-in

Source: Internet
Author: User

P3-weixin plug-in development specifications, p3-weixin plug-ins

Architecture Description:

[1] framework technology

Springmvc_3.2.9.RELEASE + Mybatis_1.0.0 + Velicity_1.6.4

 

[2] project description:

P3-Biz-gzbargain

Plug-in Project

P3-Web

Start the project

Note: Each plug-in exists as a JAR and is introduced into the Web project. Start Web engineering testing

 

[3] configuration file description:

Database configuration file:

Src/main/resources/db. properties

Pom. xml Description:

Introduce parent POM

<Parent>

<GroupId> org. jeecgframework </groupId>

<ArtifactId> P3-parent </artifactId>

<Version> 2.0.0 </version>

</Parent>

Introduce core package

<Dependency>

<GroupId> org. jeecgframework </groupId>

<ArtifactId> P3-Core </artifactId>

<Version> 2.0.0 </version>

</Dependency>

 

 

Development specifications:

 

[1] naming rules

Project name:

{Project_name}

Controller Name:

{Project_name} Controller. java

Service name:

{Project_name} Service. java

Entity name:

{Entity name}. java

Dao Name:

{Entity name} Dao. java

{Entity name} DaoImpl. java

Configuration File

{Project_name}. properties

 

 

 

[2] path standards

Background Code Location

Com. jeecg. p3. {project_name}


Front-end page location

Src/main/resources/content/{project_name}


 

 

[3] plug-in module configuration

 

Configuration File: {project_name}. properties

HdUrl

Http://www.jeewx.com/jeewx/weixinLinksucaiController.do? Link & id = 8a792db34f3a9e87014f3aa33d560013

Required

Activity URL

(It must be officially generated by Jeewx)

AppId

Wx34053f6108d45bb8

Not required by default

APPID of Public Account

WeixinId

Gh_f0f070498613

Not required by default

Original ID of the Public Account

 

 

Iv. Underlying Interface Configuration

P3-weixin.properties

 

GetSignatureUrl

Http://www.jeewx.com/jeewx/openDataController.do? GetSignature & weixinId =

Obtain the official signature address

GetNickNameUrl

Http://www.jeewx.com/jeewx/openDataController.do? GetUserInfo & openid =

Get nickname address

GetWeixinTokenUrl

Http://www.jeewx.com/jeewx/openDataController.do? GetWeixinToken & weixinId =

Get Token address

AppId

Wxd2b52b8f4bd5af7f

Public Account APPID

WeixinId

Gh_aee88273a8f5

Original public ID

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.