Commit 33db7819 authored by 姜登's avatar 姜登

attribute

parent 08946d2a
Pipeline #17488 passed with stage
in 8 seconds
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: jd * @Author: jd
* @Date: 2019-02-25 18:59:53 * @Date: 2019-02-25 18:59:53
* @LastEditors: jd * @LastEditors: jd
* @LastEditTime: 2019-11-28 14:27:51 * @LastEditTime: 2019-11-28 14:32:45
*/ */
'use strict'; 'use strict';
...@@ -57,7 +57,7 @@ class OrderService extends Service { ...@@ -57,7 +57,7 @@ class OrderService extends Service {
await order[0].update(params); await order[0].update(params);
} }
await ctx.nodemodel.GjjStatus.findOrCreate({ await ctx.nodemodel.GjjStatus.findOrCreate({
attributes: ['orderId'], attributes: ['orderId', 'appkey', 'callbackUrl', 'taskId', 'cityId', 'userId', 'status'],
where: { where: {
orderId: params.orderId, orderId: params.orderId,
}, },
......
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