多商户配置

This commit is contained in:
2023-08-15 11:02:02 +08:00
parent 713e057769
commit 7c640f13fb
11 changed files with 207 additions and 29 deletions

View File

@@ -13,6 +13,8 @@ import com.google.common.primitives.Bytes;
import com.huifu.adapay.core.exception.BaseAdaPayException;
import com.huifu.adapay.model.Refund;
import com.jsowell.JsowellApplication;
import com.jsowell.adapay.config.AbstractAdapayConfig;
import com.jsowell.adapay.factory.AdapayConfigFactory;
import com.jsowell.adapay.service.AdapayMemberService;
import com.jsowell.common.constant.CacheConstants;
import com.jsowell.common.constant.Constants;
@@ -211,8 +213,13 @@ public class SpringBootTestController {
@Test
public void testStopOccupyPileOrder() {
String occupyCode = "OP82399061445";
orderPileOccupyService.stopOccupyPileOrder(occupyCode);
String wechatAppId = "54135135";
AbstractAdapayConfig config = AdapayConfigFactory.getConfig(wechatAppId);
System.out.println(JSON.toJSONString(config));
String wechatAppId2 = "wxbb3e0d474569481d";
AbstractAdapayConfig config2 = AdapayConfigFactory.getConfig(wechatAppId2);
System.out.println(JSON.toJSONString(config2));
}
@Test