Explorar o código

take cash order bank account

abiao %!s(int64=5) %!d(string=hai) anos
pai
achega
8da2ce9bcb
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      lib/rails_admin/update_intro_user.rb

+ 2 - 1
lib/rails_admin/update_intro_user.rb

@@ -34,7 +34,8 @@ module RailsAdmin
                             n = "升级失败!"
                         end
                     end
-                    if wx_user.id==1
+                    new_wx_user = WxUser.where("id = ? ",@object.id).first
+                    if new_wx_user.id==1
                         n = "已成功整理关系!"
                         url = "#{CONFIG_FILE["api_host"]}/v1/cron/comb_three_user"
                         begin