|
@@ -26,7 +26,7 @@ import java.security.cert.X509Certificate;
|
|
|
|
|
|
import static com.miaxis.common.utils.OrderCodeFactory.getOrderCode;
|
|
|
|
|
|
-//@ActiveProfiles("prod")
|
|
|
+@ActiveProfiles("prod")
|
|
|
@SpringBootTest(classes = ZzjsApplication.class)
|
|
|
@RunWith(SpringRunner.class)
|
|
|
public class NormalTest {
|
|
@@ -44,8 +44,8 @@ public class NormalTest {
|
|
|
|
|
|
@Test
|
|
|
public void test1() throws Exception {
|
|
|
- WxOrder wxOrder = wxOrderService.getByOutTradeNo("12021060816391765454799220937462");
|
|
|
- WxNotifyReturnDTO refund = refundRecordService.refund(wxOrder, "12021060816391765454799220937463","商品购买失败");
|
|
|
+ WxOrder wxOrder = wxOrderService.getByOutTradeNo("12022020916112987326622703914644");
|
|
|
+ WxNotifyReturnDTO refund = refundRecordService.refund(wxOrder, "12022020916112987326622703914646","商品购买失败");
|
|
|
System.out.println(JSONObject.toJSONString(refund));
|
|
|
// WxOrder wxOrder1 = wxOrderService.getByOutTradeNo("12021052415260767148145493655617");
|
|
|
// refundRecordService.refund(wxOrder1,"12021051815333778448136985596489");
|