@@ -40,6 +40,7 @@ class Order < ActiveRecord::Base
self.errors.add("微信ID不存在")
end
self.depart=self.wx_user.depart
+ self.user_id=self.wx_user.user_id