Commit 4dd183ed by jinxin

token

parent a4ad58b0
......@@ -53,26 +53,6 @@ public class Config {
private String promotionCaseId;
@Value("${promotionCaseName}")
private String promotionCaseName;
@Value("${buySuiteId}")
private String buySuiteId;
@Value("${suiteid}")
private String suiteid;
public String getSuiteid() {
return suiteid;
}
public void setSuiteid(String suiteid) {
this.suiteid = suiteid;
}
public String getBuySuiteId() {
return buySuiteId;
}
public void setBuySuiteId(String buySuiteId) {
this.buySuiteId = buySuiteId;
}
public String getQywxCashierSecret() {
return qywxCashierSecret;
......
......@@ -104,7 +104,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
String secret = config.getQywxCashierSecret();
String promotionCaseName = config.getPromotionCaseName();
String promotionCaseId = config.getPromotionCaseId();
String buySuiteId = config.getBuySuiteId();
String buySuiteId = config.getWxSuiteid();
WxEnterpriseDTO wxEnterpriseDTO = wxEnterpriseService.selectById(wxEnterpriseId);
String openCorpid = wxEnterpriseDTO.getOpenCorpid();
String serviceCorpid = config.getCorpid();
......@@ -369,7 +369,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
return ServiceResponse.success(true);
}
//不存在的需要根据订单id获取订单详情,并保存进数据库
String suiteid = config.getSuiteid();
String suiteid = config.getWxSuiteid();
JSONObject json = new JSONObject();
json.put("orderid", orderId);
ServiceResponse<AppOrderInfoResponseDTO> response = qywxOrderApiService.getAppOrderInfo(suiteid, null, JSON.toJSONString(json));
......@@ -421,7 +421,7 @@ public class AppOrderApiServiceImpl implements AppOrderApiService {
return ServiceResponse.failure("-9999","参数不能为空");
}
logger.info("定时获取好办付费应用订单列表参数:{}",param);
String suiteid = config.getSuiteid();
String suiteid = config.getWxSuiteid();
ServiceResponse<AppOrderResponseListDTO> response = qywxOrderApiService.getAppOrderInfoList(suiteid, null, param);
if (response.isSuccess()){
AppOrderResponseListDTO result = response.getResult();
......
Markdown is supported
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