Module: KuaiJieQian::ClientMethod::UserRegister
- Defined in:
- lib/kuai_jie_qian/client_method/user_register.rb
Instance Method Summary collapse
Instance Method Details
#user_register(name, id, color, template_type, reg_type) ⇒ Hash
平台用户注册,生成签章
18 19 20 21 22 23 |
# File 'lib/kuai_jie_qian/client_method/user_register.rb', line 18 def user_register(name, id, color, template_type, reg_type) account_id = create_account(name, id, reg_type) seal_data = create_seal(reg_type, account_id, color, template_type) return { :account_id => account_id, :seal_data => seal_data} end |