"vscode:/vscode.git/clone" did not exist on "a054dacc961515fbc4bf5c54e368e1d01511c1bc"
Commit fb5e4afc authored by Menethil's avatar Menethil
Browse files

Merge branch 'master' into dev

# Conflicts:
#	litemall-admin/config/dep.env.js
parents 9a5cd455 cd8441e8
doc/pic1/1-9.png

204 KB | W: | H:

doc/pic1/1-9.png

137 KB | W: | H:

doc/pic1/1-9.png
doc/pic1/1-9.png
doc/pic1/1-9.png
doc/pic1/1-9.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
* litemall-db模块 * litemall-db模块
* litemall-all模块 * litemall-all模块
实际上,litemall**真正的基础系统**是litemall-core模块和litemall-db模块。
litemall-all模块则只是一个包裹模块,几乎没有任何代码。该模块的作用是融合两个spring boot模块 litemall-all模块则只是一个包裹模块,几乎没有任何代码。该模块的作用是融合两个spring boot模块
和litemall-admin模块静态文件到一个单独spring boot应用中,并最终打包成war格式的项目安装包。 和litemall-admin模块静态文件到一个单独spring boot应用中,并最终打包成war格式的项目安装包。
......
This diff is collapsed.
...@@ -12,12 +12,6 @@ ...@@ -12,12 +12,6 @@
目前发现存在的一些问题: 目前发现存在的一些问题:
* `严重`账号登录和注册中验证码
注意:
> 这里之所以没有实现,是因为需要接入云平台的短信服务。
> 后期可能接入腾讯的短信服务。
* `缺失`优惠券功能 * `缺失`优惠券功能
* `缺失`商品评价中管理员回复功能,进一步地用户之间相互评价回复 * `缺失`商品评价中管理员回复功能,进一步地用户之间相互评价回复
* `缺失`后台服务返回的token存在有效期,小商场应该自动刷新 * `缺失`后台服务返回的token存在有效期,小商场应该自动刷新
...@@ -36,7 +30,6 @@ ...@@ -36,7 +30,6 @@
* `改善`商品的订单中支持订单号搜索功能 * `改善`商品的订单中支持订单号搜索功能
* `改善`在一些内容比较多的页面中支持“顶部”功能 * `改善`在一些内容比较多的页面中支持“顶部”功能
* `功能`目前已经有账号登录页面,可以再支持手机短信登录方式。 * `功能`目前已经有账号登录页面,可以再支持手机短信登录方式。
* `功能`个人页面支持联系客服
* `功能`个人页面支持帮助中心 * `功能`个人页面支持帮助中心
* `功能`推荐功能,基于用户的一些信息,在合适的页面给出推荐商品 * `功能`推荐功能,基于用户的一些信息,在合适的页面给出推荐商品
...@@ -50,10 +43,12 @@ ...@@ -50,10 +43,12 @@
开发者在微信小程序官网申请以后,可以有app-id和app-secret信息。 开发者在微信小程序官网申请以后,可以有app-id和app-secret信息。
1. 在litemall-wx-api模块的src/main/resources的资源文件中设置 1. 在litemall-core模块的src/main/resources的资源文件中设置
``` ```
wx.app-id=开发者申请的app-id litemall
wx.app-secret=开发者申请的app-secret wx
app-id=开发者申请的app-id
app-secret=开发者申请的app-secret
``` ```
2. 在litemall-wx模块的project.config.json文件中设置 2. 在litemall-wx模块的project.config.json文件中设置
......
...@@ -29,21 +29,6 @@ ...@@ -29,21 +29,6 @@
</dependencies> </dependencies>
<build> <build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
module.exports = { module.exports = {
NODE_ENV: '"production"', NODE_ENV: '"production"',
ENV_CONFIG: '"dep"', ENV_CONFIG: '"dep"',
BASE_API: '"http://localhost:8083/admin"' BASE_API: '"http://122.152.206.172:8080/admin"'
} }
module.exports = { module.exports = {
NODE_ENV: '"development"', NODE_ENV: '"development"',
ENV_CONFIG: '"dev"', ENV_CONFIG: '"dev"',
BASE_API: '"http://localhost:8083/admin"' BASE_API: '"http://localhost:8080/admin"'
} }
...@@ -60,6 +60,19 @@ ...@@ -60,6 +60,19 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<classifier>exec</classifier>
</configuration>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
......
...@@ -12,6 +12,8 @@ logging: ...@@ -12,6 +12,8 @@ logging:
root: ERROR root: ERROR
org.springframework: ERROR org.springframework: ERROR
org.mybatis: ERROR org.mybatis: ERROR
org.linlinjava.litemall.admin: DEBUG org.linlinjava.litemall.core: ERROR
org.linlinjava.litemall.wx: DEBUG org.linlinjava.litemall.db: ERROR
org.linlinjava.litemall: DEBUG org.linlinjava.litemall.admin: ERROR
\ No newline at end of file org.linlinjava.litemall.wx: ERROR
org.linlinjava.litemall: ERROR
\ No newline at end of file
...@@ -89,20 +89,4 @@ ...@@ -89,20 +89,4 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
</project> </project>
\ No newline at end of file
...@@ -20,7 +20,6 @@ public class LocalStorage implements Storage { ...@@ -20,7 +20,6 @@ public class LocalStorage implements Storage {
private String storagePath; private String storagePath;
private String address; private String address;
private String port;
private Path rootLocation; private Path rootLocation;
...@@ -47,15 +46,6 @@ public class LocalStorage implements Storage { ...@@ -47,15 +46,6 @@ public class LocalStorage implements Storage {
this.address = address; this.address = address;
} }
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
@Override @Override
public void store(MultipartFile file, String keyName) { public void store(MultipartFile file, String keyName) {
try { try {
......
...@@ -45,7 +45,6 @@ public class StorageAutoConfiguration { ...@@ -45,7 +45,6 @@ public class StorageAutoConfiguration {
LocalStorage localStorage = new LocalStorage(); LocalStorage localStorage = new LocalStorage();
StorageProperties.Local local = this.properties.getLocal(); StorageProperties.Local local = this.properties.getLocal();
localStorage.setAddress(local.getAddress()); localStorage.setAddress(local.getAddress());
localStorage.setPort(local.getPort());
localStorage.setStoragePath(local.getStoragePath()); localStorage.setStoragePath(local.getStoragePath());
return localStorage; return localStorage;
} }
......
...@@ -43,7 +43,6 @@ public class StorageProperties { ...@@ -43,7 +43,6 @@ public class StorageProperties {
public static class Local { public static class Local {
private String address; private String address;
private String port;
private String storagePath; private String storagePath;
public String getAddress() { public String getAddress() {
...@@ -54,14 +53,6 @@ public class StorageProperties { ...@@ -54,14 +53,6 @@ public class StorageProperties {
this.address = address; this.address = address;
} }
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
public String getStoragePath() { public String getStoragePath() {
return storagePath; return storagePath;
} }
......
...@@ -88,8 +88,8 @@ litemall: ...@@ -88,8 +88,8 @@ litemall:
# 本地对象存储配置信息 # 本地对象存储配置信息
local: local:
storagePath: storage storagePath: storage
address: http://localhost:8082/wx/storage/fetch/ # 这个地方应该是wx模块的WxStorageController的fetch方法对应的地址
port: 8081 address: http://localhost:8080/wx/storage/fetch/
# 阿里云对象存储配置信息 # 阿里云对象存储配置信息
aliyun: aliyun:
endpoint: oss-cn-shenzhen.aliyuncs.com endpoint: oss-cn-shenzhen.aliyuncs.com
......
...@@ -41,22 +41,6 @@ ...@@ -41,22 +41,6 @@
<build> <build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.mybatis.generator</groupId> <groupId>org.mybatis.generator</groupId>
......
...@@ -56,22 +56,6 @@ ...@@ -56,22 +56,6 @@
</dependencies> </dependencies>
<build> <build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
// 以下是业务服务器API地址 // 以下是业务服务器API地址
// 本机开发时使用 // 本机开发时使用
// var WxApiRoot = 'http://localhost:8082/wx/'; // var WxApiRoot = 'http://localhost:8080/wx/';
// 局域网测试使用 // 局域网测试使用
// var WxApiRoot = 'http://192.168.0.101:8082/wx/'; // var WxApiRoot = 'http://192.168.0.101:8080/wx/';
// 云平台部署时使用 // 云平台部署时使用
var WxApiRoot = 'http://122.152.206.172:8082/wx/'; var WxApiRoot = 'http://122.152.206.172:8080/wx/';
// 云平台上线时使用 // 云平台上线时使用
// var WxApiRoot = 'https://www.menethil.com.cn/wx/'; // var WxApiRoot = 'https://www.menethil.com.cn/wx/';
......
...@@ -49,6 +49,11 @@ ...@@ -49,6 +49,11 @@
<artifactId>litemall-admin-api</artifactId> <artifactId>litemall-admin-api</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.linlinjava</groupId>
<artifactId>litemall-all</artifactId>
<version>${project.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.fasterxml.jackson.datatype</groupId> <groupId>com.fasterxml.jackson.datatype</groupId>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment