Authored by 李奇

有赚修改

... ... @@ -101,15 +101,22 @@ module.exports = class extends global.yoho.BaseModel {
*/
submitApply(params) {
let uid = params.uid;
let unionType = params.union_type;
let union = {};
if (unionType) {
union.union_type = unionType;
}
delete params.uid;
delete params.union_type;
return this.get({
data: {
data: Object.assign({
method: 'app.union.shareOrder.userApply',
uid: uid,
parameters: JSON.stringify(params)
}
}, union)
});
}
};
... ...