Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
bb6e42cb
Commit
bb6e42cb
authored
Jul 24, 2018
by
Menethil
Browse files
微信配置相关移至Core,因为Admin和Wx都需要用到
parent
07a736e0
Changes
6
Hide whitespace changes
Inline
Side-by-side
litemall-admin-api/pom.xml
View file @
bb6e42cb
...
@@ -22,6 +22,10 @@
...
@@ -22,6 +22,10 @@
<artifactId>
litemall-db
</artifactId>
<artifactId>
litemall-db
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
com.github.binarywang
</groupId>
<artifactId>
weixin-java-miniapp
</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
litemall-core/pom.xml
View file @
bb6e42cb
...
@@ -76,6 +76,11 @@
...
@@ -76,6 +76,11 @@
<groupId>
org.linlinjava
</groupId>
<groupId>
org.linlinjava
</groupId>
<artifactId>
litemall-db
</artifactId>
<artifactId>
litemall-db
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
com.github.binarywang
</groupId>
<artifactId>
weixin-java-pay
</artifactId>
<version>
3.0.0
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
litemall-
wx-api
/src/main/java/org/linlinjava/litemall/
wx
/config/WxConfig.java
→
litemall-
core
/src/main/java/org/linlinjava/litemall/
core
/config/WxConfig.java
View file @
bb6e42cb
package
org.linlinjava.litemall.
wx
.config
;
package
org.linlinjava.litemall.
core
.config
;
import
cn.binarywang.wx.miniapp.api.WxMaService
;
import
cn.binarywang.wx.miniapp.api.WxMaService
;
import
cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl
;
import
cn.binarywang.wx.miniapp.api.impl.WxMaServiceImpl
;
...
...
litemall-
wx-api
/src/main/java/org/linlinjava/litemall/
wx
/config/WxProperties.java
→
litemall-
core
/src/main/java/org/linlinjava/litemall/
core
/config/WxProperties.java
View file @
bb6e42cb
package
org.linlinjava.litemall.
wx
.config
;
package
org.linlinjava.litemall.
core
.config
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
...
...
litemall-core/src/main/resources/application-core.yml
View file @
bb6e42cb
litemall
:
litemall
:
# 开发者应该设置成自己的wx相关信息
wx
:
app-id
:
wxa5b486c6b918ecfb
app-secret
:
e04004829d4c383b4db7769d88dfbca1
mch-id
:
111111
mch-key
:
xxxxxx
notify-url
:
http://www.example.com/wx/order/pay-notify
notify
:
notify
:
mail
:
mail
:
# 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员
# 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员
...
...
litemall-wx-api/src/main/resources/application-wx.yml
View file @
bb6e42cb
# 开发者应该设置成自己的wx相关信息
litemall
:
wx
:
app-id
:
wxa5b486c6b918ecfb
app-secret
:
e04004829d4c383b4db7769d88dfbca1
mch-id
:
111111
mch-key
:
xxxxxx
notify-url
:
http://www.example.com/wx/order/pay-notify
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment