|
|
|
@ -42,7 +42,7 @@ module Mobile
|
|
|
|
|
user: user
|
|
|
|
|
)
|
|
|
|
|
ws = WechatService.new
|
|
|
|
|
ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台。", user.login, Time.now.strftime("%Y-%m-%d"))
|
|
|
|
|
ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台。", user.login+"("+user.show_name+")", Time.now.strftime("%Y-%m-%d"))
|
|
|
|
|
present status: 0, message: '您已成功绑定Trustie平台'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
@ -81,7 +81,7 @@ module Mobile
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
ws = WechatService.new
|
|
|
|
|
ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台。", user.login, Time.now.strftime("%Y-%m-%d"))
|
|
|
|
|
ws.binding_succ_notice(user.id, "您已成功绑定Trustie平台。", user.login+"("+user.show_name+")", Time.now.strftime("%Y-%m-%d"))
|
|
|
|
|
present :data, user, with: Mobile::Entities::User
|
|
|
|
|
present :status, 0
|
|
|
|
|
end
|
|
|
|
|