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.