Commit 548090f3 by liimin

调整

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