|
@ -78,8 +78,8 @@ public class PatientPrescriptionPayController extends WeixinBaseController {
|
|
|
try {
|
|
|
String accessToken = getAccessToken();
|
|
|
String patient = getUID();
|
|
|
payService.charge(type,addressJson,orgCode, prescriptionCode, totalAmount, patient, accessToken,returnUrl);
|
|
|
return write(200, "支付成功!");
|
|
|
String result = payService.charge(type,addressJson,orgCode, prescriptionCode, totalAmount, patient, accessToken,returnUrl);
|
|
|
return write(200, "支付成功!","data",result);
|
|
|
} catch (Exception e) {
|
|
|
return error(-1, "支付失败!");
|
|
|
}
|