Althars123 %!s(int64=3) %!d(string=hai) anos
pai
achega
6bb3e3d458

+ 1 - 0
zzjs-admin/src/main/resources/application-dev.yml

@@ -145,3 +145,4 @@ wai:
 fulu:
     appKey: "i4esv1l+76l/7NQCL3QudG90Fq+YgVfFGJAWgT+7qO1Bm9o/adG/1iwO2qXsAXNB"
     appSecret: "0a091b3aa4324435aab703142518a8f7"
+    url: "http://pre.openapi.fulu.com"

+ 1 - 0
zzjs-admin/src/main/resources/application-prod.yml

@@ -145,3 +145,4 @@ wai:
 fulu:
     appKey: "qxTK3W/RNleYH5tygePOu52hoFHpaqCi0eR5yKhHVgYQanIcua5edOG2rgrldHnL"
     appSecret: "a1be19d04c724c05971942305ea97489"
+    url: "http://openapi.fulu.com"

+ 1 - 1
zzjs-service/src/main/java/com/miaxis/feign/service/IFuluService.java

@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.GetMapping;
  * 福禄开放接口
  */
 @FeignClient(name="fuluService",
-        url = "http://pre.openapi.fulu.com",configuration = FeignConfig.class)
+        url = "${fulu.url}",configuration = FeignConfig.class)
 @Component
 public interface IFuluService {
     /**

+ 1 - 1
zzjs-service/src/main/resources/mapper/wx/WxOrderMapper.xml

@@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectOrderList" resultType="com.miaxis.wx.domain.WxOrder">
         select * from wx_order
-         where  trade_state ='SUCCESS'
+         where openid=#{openid} and trade_state ='SUCCESS'
         <if test="days != null  and days != ''">
             and  DATE_SUB(CURDATE(), INTERVAL #{days} DAY) &lt;= date(create_time)
         </if>