1、验证码 get ./getImg { t } 2、提交 post ./userRegister { u_name,u_sex,unit,a_id,phone, code }
1、post ./userInfo { hash }
1、验证码 get ./getImg { t } 2、登录 post ./Login { type: admin/agent, name|phone , pass,code }
一、管理员 get ./adminInfo post ./setAdmin {name,oldpass,pass,code} get ./adminUsers get ./adminAgents post ./addAgent { a_name,a_sex,unit,a_id,a_phone,a_password,a_prove, code } 二、代理人 get ./agentInfo get ./agentUsers