Commit 548090f3 by liimin

调整

1 parent 0dc221eb
...@@ -22,11 +22,11 @@ module.exports = app => { ...@@ -22,11 +22,11 @@ module.exports = app => {
type: DataTypes.DATE, type: DataTypes.DATE,
allowNull: true allowNull: true
}, },
merCode: { merchant_code: {
type: DataTypes.STRING(32), type: DataTypes.STRING(32),
allowNull: true allowNull: true
}, },
merchant: { merchant_name: {
type: DataTypes.STRING(256), type: DataTypes.STRING(256),
allowNull: true allowNull: true
}, },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: limin * @Author: limin
* @Date: 2019-11-21 11:18:37 * @Date: 2019-11-21 11:18:37
* @Last Modified by: limin * @Last Modified by: limin
* @Last Modified time: 2020-01-04 18:56:18 * @Last Modified time: 2020-01-04 19:12:53
*/ */
const Service = require("egg").Service; const Service = require("egg").Service;
...@@ -204,9 +204,9 @@ class MerchantService extends Service { ...@@ -204,9 +204,9 @@ class MerchantService extends Service {
Object.assign(option, { Object.assign(option, {
attributes: [ attributes: [
"id", "id",
"merchant", "merchant_name",
"order_time", "order_time",
"merCode", "merchant_code",
"total", "total",
"prov_code", "prov_code",
"order_type", "order_type",
...@@ -235,9 +235,9 @@ class MerchantService extends Service { ...@@ -235,9 +235,9 @@ class MerchantService extends Service {
Object.assign(option, { Object.assign(option, {
attributes: [ attributes: [
"id", "id",
"merchant", "merchant_name",
"order_time", "order_time",
"merCode", "merchant_code",
"total", "total",
"prov_code", "prov_code",
"order_type", "order_type",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!