Commit 7f432301 authored by 李尚科's avatar 李尚科

fix

parent c93218df
......@@ -18,6 +18,9 @@ module.exports = app => {
app_user_id: STRING,
app_id: STRING,
app_type_id: STRING,
name: STRING,
phone: STRING,
id_card: STRING,
price: DECIMAL,
preferential_id: INTEGER,
preferential_price: DECIMAL,
......
......@@ -328,7 +328,7 @@ class OrderService extends Service {
unifiedorder_result: JSON.stringify(ret),
client_ip: ctx.helper.getClientIP(),
};
await this.addCreditPay(pay_data);
await this.addCreditPay(pay_data);;
await this.updateOrderStateToCancel(order);
await this.updateOrderPrice(order);
await ctx.prometheusModel.CreditOrder.update({ method: type, state: '支付中' }, { where: { id: order.id } });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment