微信支付 问题 调整
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
package com.czg.system.service;
|
||||
|
||||
import com.czg.exception.CzgException;
|
||||
import com.czg.resp.CzgResult;
|
||||
import com.czg.system.dto.SysParamsDTO;
|
||||
import com.czg.system.entity.SysParams;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* 服务层。
|
||||
@@ -23,6 +26,7 @@ public interface SysParamsService extends IService<SysParams> {
|
||||
* @return 参数列表
|
||||
*/
|
||||
CzgResult<List<SysParamsDTO>> getParamsByType(Integer type);
|
||||
|
||||
/**
|
||||
* 新增参数
|
||||
*
|
||||
@@ -62,4 +66,15 @@ public interface SysParamsService extends IService<SysParams> {
|
||||
*/
|
||||
String getSysParamValue(String code);
|
||||
|
||||
|
||||
/**
|
||||
* 根据参数类型获取参数
|
||||
* dubbo 调用需要 显式抛出 异常类型
|
||||
*
|
||||
* @param type 参数类型
|
||||
* userMiniKeys 用户小程序参数 appId appSecret
|
||||
* shopMiniKeys 商家小程序参数 appId appSecret
|
||||
* payKeys 微信支付参数
|
||||
*/
|
||||
Map<String, String> getParamsByMap(String type, Set<String> keyList) throws CzgException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user