修复支付配置修改没有更新问题
This commit is contained in:
parent
8004ee15ea
commit
843228d047
|
|
@ -87,7 +87,7 @@ public class FinanceRechargerServiceImpl implements IFinanceRechargerService {
|
|||
"like:sn@t.order_sn:str",
|
||||
"=:payWay@t.pay_way:int",
|
||||
"=:payStatus@t.pay_status:int",
|
||||
">=:payTime@pay_time:long"
|
||||
"datetime:startTime-endTime@create_time:long",
|
||||
});
|
||||
|
||||
if (StringUtils.isNotEmpty(searchValidate.getKeyword())) {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,10 @@ public class FinanceRechargeSearchValidate implements Serializable {
|
|||
@ApiModelProperty(value = "支付状态")
|
||||
private Integer payStatus;
|
||||
|
||||
@ApiModelProperty(value = "支付时间")
|
||||
private Integer payTime;
|
||||
@ApiModelProperty(value = "开始时间")
|
||||
private Integer startTime;
|
||||
|
||||
@ApiModelProperty(value = "结束时间")
|
||||
private Integer endTime;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -175,7 +175,6 @@ public class WxPayDriver {
|
|||
payConfig.setPrivateKeyContent(privateKey);
|
||||
payConfig.setPrivateCertContent(privateCert);
|
||||
payConfig.setUseSandboxEnv(false);
|
||||
WxPayService wxPayService = new WxPayServiceImpl();
|
||||
wxPayService.setConfig(payConfig);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import com.mdd.common.exception.OperateException;
|
|||
import com.mdd.common.mapper.notice.NoticeRecordMapper;
|
||||
import com.mdd.common.plugin.notice.NoticeDriver;
|
||||
import com.mdd.common.plugin.notice.vo.NoticeSmsVo;
|
||||
import com.mdd.common.plugin.wechat.WxMnpDriver;
|
||||
import com.mdd.common.util.StringUtils;
|
||||
import com.mdd.common.util.ToolUtils;
|
||||
import com.mdd.common.validator.annotation.IDMust;
|
||||
|
|
@ -55,6 +56,7 @@ public class IndexController {
|
|||
@GetMapping("/config")
|
||||
@ApiOperation(value="公共配置")
|
||||
public AjaxResult<Map<String, Object>> config() {
|
||||
System.out.println(WxMnpDriver.mnp().getWxMaConfig());
|
||||
Map<String, Object> map = iIndexService.config();
|
||||
return AjaxResult.success(map);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue