Authored by Lixiaodi

Merge branch 'dev_pay_million' of http://git.yoho.cn/ufo/yohoufo-fore into dev_pay_million

... ... @@ -4,6 +4,7 @@ package com.yohoufo.order;
import com.google.common.base.Splitter;
import com.yohoufo.common.utils.RSAUtils;
import com.yohoufo.order.config.AlipayConfig;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.BlockJUnit4ClassRunner;
... ... @@ -19,7 +20,7 @@ public class BaseTest {
String sign = "BEDIzBQ6n7fyb4uAxH4lQt/GI9aaEY1Pxhz5tTH6q18u3Sz3ERzlnOLv1mIeD5BrFPtjDFc0R4WlUJ0a4do2/1pHd6SBP7hD3U5olP2Dw+HjoFDzlKBAueiDqOgfPpyVtrks/oZ7n5bu4jh2+XVKfN3JkMyem++yoKqEN0kQywc=";
String key = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
boolean res = RSAUtils.verify(preSignStr, sign, key, AlipayConfig.input_charset);
System.out.println(res);
Assert.assertTrue(res);
}
@Test
... ...