Authored by 姜枫

alipay

... ... @@ -12,7 +12,7 @@ const common = require('./common');
const sign = require('./sign');
const md5 = global.yoho.md5;
const ALIPAY_URL = "https://mapi.alipay.com/gateway.do";
const ALIPAY_URL = 'https://mapi.alipay.com/gateway.do';
const Alipay = {
... ...
... ... @@ -79,7 +79,7 @@ const getPaymentInfo = (id) => {
return co(function * () {
let data = yield api.getPaymentInfo(id);
if (data && data.code === 200 && data.data){
if (data && data.code === 200 && data.data) {
return camelCase(data.data);
}
return {};
... ...