浏览代码

add base config function

abiao 5 年之前
父节点
当前提交
c8060bb726
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      app/models/shop_application.rb

+ 1 - 3
app/models/shop_application.rb

@@ -17,8 +17,7 @@ class ShopApplication < ActiveRecord::Base
       field :wx_user_id
       field :nickname
       field :mobile
-      field :total
-=begin
+      # field :total
       field :total do
         visible true
         label "订单总金额(元)"
@@ -26,7 +25,6 @@ class ShopApplication < ActiveRecord::Base
           value!=0 ? (value.to_f / 100.0):0
         end
       end
-=end
       field :address
       field :status
       field :remark