From e17683d3d5a7f51fa2fcb5c253bd72846b8ad1ca Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Sun, 14 Aug 2016 12:42:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=BF=80=E6=B4=BB=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=B8=90=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/mobile/apis/new_comment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/mobile/apis/new_comment.rb b/app/api/mobile/apis/new_comment.rb index ad02762d4..d4a156271 100644 --- a/app/api/mobile/apis/new_comment.rb +++ b/app/api/mobile/apis/new_comment.rb @@ -60,7 +60,7 @@ module Mobile raise user.errors.full_messages.first if user.new_record? user.update_attributes(:lastname=>name) #自动激活 - user = automatically_register(user) + user = AccountHelper.automatically_register(user) UserWechat.create!( openid: openid, user: user,