Card.remoteMethod('preorder', {
isStatic: false,
accepts: [
{ arg: 'req', type: 'object', http: { source: 'req' } },
{ arg: 'res', type: 'object', http: { source: 'res' } }
],
returns: [
{arg: 'appId', type: 'string', description: '公众号名称'},
{arg: 'timeStamp', type: 'string'},
{arg: 'nonceStr', type: 'string'},
{arg: 'package', type: 'string'},
{arg: 'signType', type: 'string'},
{arg: 'paySign', type: 'string'}
],
http: {path: '/preorder', verb: 'post', errorStatus: 400},
description: "微信预下单"
});
网友评论