Skip to content

Commit

Permalink
yshop1.9,新增城市接口,修复小程序登陆与支付问题,发布mpvue1.0小程序
Browse files Browse the repository at this point in the history
  • Loading branch information
hupeng committed Jan 19, 2020
1 parent a598920 commit dcfca45
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 26 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,14 @@ CMS,CRM,OA等等本版本本身属于独立后台商城管理系统;
- yshop1.6.4发布:后台新增修改订单价格与备注优化订单详情显示明细,修复积分记录标题不显示的问题
- yshop1.7 发布
- yshop1.8发布:
- yshop1.8.1发布更新如下:
- 1、修复库存问题#I17Z5X
- 2、修复评价百分比精度问题#I17UQY
- 3、修复评价列表问题#I17TZC
- 4、移动端图片上传修改为统一处理
- yshop1.8.3发布更新如下:
- 1、H5注册新增阿里云短信功能 #I17Z7F
- 2、解决后台修改价格之后不能重复发起微信支付的问题 #I185TD
- 2、修复移动springsecurity 权限拦截验证问题(重要)
- yshop1.9,新增城市接口,修复小程序登陆与支付问题,发布mpvue1.0小程序
- 1、新增城市接口
- 2、修复小程序登陆与支付问题
- 3、发布mpvue1.0小程序


#### 反馈交流
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>co.yixiang</groupId>
<artifactId>yshop</artifactId>
<packaging>pom</packaging>
<version>1.8</version>
<version>1.9</version>

<modules>
<module>yshop-common</module>
Expand All @@ -16,6 +16,7 @@
<module>yshop-tools</module>
<module>yshop-monitor</module>
<module>yshop-generator</module>
<module>yshop-api</module>
<module>yshop-mp</module>
<module>yshop-shop</module>
</modules>
Expand Down Expand Up @@ -128,7 +129,7 @@
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>swagger-bootstrap-ui</artifactId>
<version>1.9.3</version>
<version>1.9.6</version>
</dependency>

<!--Mysql依赖包-->
Expand Down
2 changes: 1 addition & 1 deletion yshop-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>yshop</artifactId>
<groupId>co.yixiang</groupId>
<version>1.8</version>
<version>1.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
29 changes: 28 additions & 1 deletion yshop-common/src/main/java/co/yixiang/utils/FileUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public static String getSize(long size){
/**
* inputStream 转 File
*/
static File inputStreamToFile(InputStream ins, String name) throws Exception{
public static File inputStreamToFile(InputStream ins, String name) throws Exception{
File file = new File(System.getProperty("java.io.tmpdir") + File.separator + name);
if (file.exists()) {
return file;
Expand Down Expand Up @@ -310,4 +310,31 @@ public static String getMd5(File file) {
return getMd5(getByte(file));
}

/**
* 读取json文件,返回json串
* @param fileName
* @return
*/
public static String readJsonFile(String fileName) {
String jsonStr = "";
try {
File jsonFile = new File(fileName);
FileReader fileReader = new FileReader(jsonFile);

Reader reader = new InputStreamReader(new FileInputStream(jsonFile),"utf-8");
int ch = 0;
StringBuffer sb = new StringBuffer();
while ((ch = reader.read()) != -1) {
sb.append((char) ch);
}
fileReader.close();
reader.close();
jsonStr = sb.toString();
return jsonStr;
} catch (IOException e) {
e.printStackTrace();
return null;
}
}

}
4 changes: 2 additions & 2 deletions yshop-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>yshop</artifactId>
<groupId>co.yixiang</groupId>
<version>1.8</version>
<version>1.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -20,7 +20,7 @@
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-common</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>

<!--模板引擎-->
Expand Down
4 changes: 2 additions & 2 deletions yshop-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>yshop</artifactId>
<groupId>co.yixiang</groupId>
<version>1.8</version>
<version>1.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -16,7 +16,7 @@
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-common</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion yshop-monitor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>yshop-monitor</artifactId>
<version>1.8</version>
<version>1.9</version>

<name>客户端监控模块</name>

Expand Down
4 changes: 2 additions & 2 deletions yshop-mp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>yshop</artifactId>
<groupId>co.yixiang</groupId>
<version>1.8</version>
<version>1.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -31,7 +31,7 @@
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-common</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>
</dependencies>

Expand Down
6 changes: 3 additions & 3 deletions yshop-shop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>yshop</artifactId>
<groupId>co.yixiang</groupId>
<version>1.8</version>
<version>1.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -20,12 +20,12 @@
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-logging</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-mp</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>

</dependencies>
Expand Down
16 changes: 11 additions & 5 deletions yshop-system/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>yshop</artifactId>
<groupId>co.yixiang</groupId>
<version>1.8</version>
<version>1.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -21,7 +21,7 @@
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-generator</artifactId>
<version>1.8</version>
<version>1.9</version>
<exclusions>
<exclusion>
<groupId>co.yixiang</groupId>
Expand All @@ -34,19 +34,25 @@
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-tools</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>

<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-shop</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>

<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-mp</artifactId>
<version>1.8</version>
<version>1.9</version>
<exclusions>
<exclusion>
<groupId>co.yixiang</groupId>
<artifactId>yshop-common</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
4 changes: 2 additions & 2 deletions yshop-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>yshop</artifactId>
<groupId>co.yixiang</groupId>
<version>1.8</version>
<version>1.9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-logging</artifactId>
<version>1.8</version>
<version>1.9</version>
</dependency>

<!--邮件依赖-->
Expand Down

0 comments on commit dcfca45

Please sign in to comment.