liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Êþº¾2€.com/jeeplus/modules/sys/web/RegisterController%com/jeeplus/common/web/BaseControllersystemConfigService5Lcom/jeeplus/modules/sys/service/SystemConfigService;RuntimeVisibleAnnotations8Lorg/springframework/beans/factory/annotation/Autowired; systemService/Lcom/jeeplus/modules/sys/service/SystemService; officeService/Lcom/jeeplus/modules/sys/service/OfficeService;userDao%Lcom/jeeplus/modules/sys/dao/UserDao;<init>()VCode
 LineNumberTableLocalVariableTablethis0Lcom/jeeplus/modules/sys/web/RegisterController;get9(Ljava/lang/String;)Lcom/jeeplus/modules/sys/entity/User;8Lorg/springframework/web/bind/annotation/ModelAttribute;"RuntimeVisibleParameterAnnotations6Lorg/springframework/web/bind/annotation/RequestParam;required
 "!$com/jeeplus/common/utils/StringUtils #$
isNotBlank(Ljava/lang/CharSequence;)Z    &     
 
(*)-com/jeeplus/modules/sys/service/SystemService +getUser-#com/jeeplus/modules/sys/entity/User
,idLjava/lang/String; StackMapTableregisterW(Lcom/jeeplus/modules/sys/entity/User;Lorg/springframework/ui/Model;)Ljava/lang/String;8Lorg/springframework/web/bind/annotation/RequestMapping;valueindex9modules/sys/registeruser%Lcom/jeeplus/modules/sys/entity/User;modelLorg/springframework/ui/Model; registerUser (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;ZLjava/lang/String;Ljava/lang/String;Lcom/jeeplus/modules/sys/entity/User;Lorg/springframework/ui/Model;Lorg/springframework/web/servlet/mvc/support/RedirectAttributes;)Ljava/lang/String;    A Cmobile
,E FG    getMobile()Ljava/lang/String; IKJ#com/jeeplus/modules/sys/dao/UserDao LMfindUniqueByProperty8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;O com/jeeplus/common/json/AjaxJson
N
NR ST
setSuccess(Z)VV1
NX YZ setErrorCode(Ljava/lang/String;)V\手机号已经被使用!
N^ _ZsetMsg
Na bG
getJsonStr
d ef renderStringN(Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)Ljava/lang/String;hjava/lang/Stringj手机号已经被使用!
l mn
addMessage4(Lorg/springframework/ui/Model;[Ljava/lang/String;)V
p 23r
login_name
,t uG getLoginNamew2y用户名已经被注册!{用户名已经被注册! }~%javax/servlet/http/HttpServletRequest €
getSession"()Ljavax/servlet/http/HttpSession; ƒ…„javax/servlet/http/HttpSession †‡getServletContext ()Ljavax/servlet/ServletContext; ‰‹Šjavax/servlet/ServletContext Œ getAttribute&(Ljava/lang/String;)Ljava/lang/Object;
g ‘equals(Ljava/lang/Object;)Z“3•手机验证码不正确!
(— ˜™getRoleByEnname9(Ljava/lang/String;)Lcom/jeeplus/modules/sys/entity/Role;›1000patientŸ1001    ¡
£¥¤-com/jeeplus/modules/sys/service/OfficeService ¦§    getByCode;(Ljava/lang/String;)Lcom/jeeplus/modules/sys/entity/Office;
,© ªG getPassword
(¬ ­®entryptPassword&(Ljava/lang/String;)Ljava/lang/String;
,° ±Z setPassword
(³ ´getUserByLoginName¶java/lang/StringBuilder¸ 注册用户'
µº Z
µ¼ ½¾append-(Ljava/lang/String;)Ljava/lang/StringBuilder;À'失败,用户名已存在
µÂ ÃGtoString
ÅÇÆcom/google/common/collect/Lists ÈÉ newArrayList()Ljava/util/ArrayList; ËÍÌjava/util/List Αadd
,Ð ÑÒ setRoleList(Ljava/util/List;)V
,Ô ÕÖ
setCompany*(Lcom/jeeplus/modules/sys/entity/Office;)V
,Ø ÙÖ    setOffice
ÛÝÜ com/jeeplus/common/config/Global ÞGgetUserfilesBaseDir
gà áâvalueOf&(Ljava/lang/Object;)Ljava/lang/String;ä /userfiles/
,æ çGgetIdé/qrcode/
ëíì"com/jeeplus/common/utils/FileUtils îïcreateDirectory(Ljava/lang/String;)Zñ.pngópng
õ÷ö0com/jeeplus/modules/tools/utils/TwoDimensionCode øù encoderQRCode9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V }û üGgetContextPath
,þ ÿZ    setQrCode
( saveUser((Lcom/jeeplus/modules/sys/entity/User;)V
'com/jeeplus/modules/sys/utils/UserUtils +'()Lcom/jeeplus/modules/sys/entity/User;
 
 
clearCache ‰ ZremoveAttribute'成功
 eN(Ljavax/servlet/http/HttpServletResponse;Ljava/lang/Object;)Ljava/lang/String;
 mV(Lorg/springframework/web/servlet/mvc/support/RedirectAttributes;[Ljava/lang/String;)V    redirect:     0    adminPath/loginrequest'Ljavax/servlet/http/HttpServletRequest;response(Ljavax/servlet/http/HttpServletResponse; mobileLoginZ
randomCoderoleNameredirectAttributes@Lorg/springframework/web/servlet/mvc/support/RedirectAttributes;j"Lcom/jeeplus/common/json/AjaxJson;role%Lcom/jeeplus/modules/sys/entity/Role;
officeCodeoffice'Lcom/jeeplus/modules/sys/entity/Office;roleListLjava/util/List;realPathnamefilePathLocalVariableTypeTable7Ljava/util/List<Lcom/jeeplus/modules/sys/entity/Role;>;7#com/jeeplus/modules/sys/entity/Role9%com/jeeplus/modules/sys/entity/Office;&javax/servlet/http/HttpServletResponse=org/springframework/ui/Model?>org/springframework/web/servlet/mvc/support/RedirectAttributesgetRegisterCodeã(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Lorg/springframework/ui/Model;Lorg/springframework/web/servlet/mvc/support/RedirectAttributes;)Lcom/jeeplus/common/json/AjaxJson;6Lorg/springframework/web/bind/annotation/ResponseBody;    D 
FHG3com/jeeplus/modules/sys/service/SystemConfigService IA(Ljava/lang/String;)Lcom/jeeplus/modules/sys/entity/SystemConfig;
KMLjava/lang/Math NOrandom()D@Á”@@
gU áV(I)Ljava/lang/String;
XZY+com/jeeplus/modules/sys/entity/SystemConfig [G
getSmsName
X] ^GgetSmsPassword
` absendRandomCode\(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;d100f$短信发送失败,错误代码:h,请联系管理员。j-1l短信发送成功! ‰n op setAttribute'(Ljava/lang/String;Ljava/lang/Object;)Vr?因未知原因导致短信发送失败,请联系管理员。tjava/io/IOExceptionconfig-Lcom/jeeplus/modules/sys/entity/SystemConfig;resulteLjava/io/IOException;validateMobileCodeN(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/String;)Z
SourceFileRegisterController.java+Lorg/springframework/stereotype/Controller;${adminPath}/sys/register!    
  /*·±,  Z]+¸™ *´%+¶'°»,Y·.°=>@/012345[s6s7A8°H :;<=>?45[s>-è*´@B¶D¹HÆG™+»NY·P:        ¶Q    U¶W    [¶]*,    ¶`¶c°*½gYiS¶k*¶o°*´@q¶s¹HÆG™+»NY·P:        ¶Q    v¶W    x¶]*,    ¶`¶c°*½gYzS¶k*¶o°+¹|¹‚¶D¹ˆ¶ŽšG™+»NY·P:        ¶Q    ’¶W    ”¶]*,    ¶`¶c°*½gY”S¶k*¶o°*´%¶–:    š:
œ¶Ž™ž:
*´ 
¶¢: ¶¨¸«¶¯*´%¶s¶²Æ2*½gY»µY··¹¶s¶»¿¶»¶ÁS¶k*¶o°¸Ä:      ¹ÊW ¶Ï ¶Ó ¶×»µY¸Ú¸ß·¹ã¶»¶å¶»è¶»¶Á:  ¸êW»µY¶å¸ß·¹ð¶»¶Á:»µY ¸ß·¹¶»¶Á:¶sò¸ô»µY+¹ú¸ß·¹ã¶»¶å¶»è¶»¶»¶Á¶ý*´%¶¶s¸¶s¶Ž™¸    +¹|¹‚¶D¹ ™9»NY·P:¶Q»µY··¹¶s¶»¶»¶Á¶]*,¶°*½gY»µY··¹¶s¶»¶»¶ÁS¶»µY·¹*´¶»¶»¶Á°ú>RTU V&W-X4Y?[N\Wbjdnewf}g„h‹i–k¥l®qËsÏtØuÞvåwìx÷z{‚ƒ(„,†7ˆD‰SŠy‹‚އ‘˜’Ÿ“¦•¸–ŕʗИé™ÿš ›"œ7›:žC T¡W¤l§p¨y©ªž«¦¯ͰÊèèè !è"#è$0è%0è:;è<=è&' ()    w()    Ø()    Î*+    Ê,0
7±-. ‡a/0 Ê10 éÿ20ÿé30y-()4 ‡a/5 1Q
?>ûHý6güU8ÿÔ}:gg,<>6g8ËgggûN@A45[s@Bë
Û*´CU¶E:»NY·P:*´@B-¹HƶQU¶W[¶]°¸JPkRcޏT:¶W¶\-¸_:        c¶Žš0¶Qv¶W»µYe·¹    ¶»g¶»¶Á¶]§F¶Qi¶Wk¶]+¹|¹‚-¹m§:    ¶Q’¶Wq¶]°K¾Ás^ ÄÇ#É)Ê0Ë7Ì:ÏKÑ]ÒhÓnÔuՒ֕כأ٫ھÜÃÝÉÞÐߨáp ÛÛÛ !ÛC0Û<=Û&' ÐuvÇ()K$0]aw0    Ãxy    1ý:XNýZggú(Bsz{B45[szu-+¹|¹‚,¹ˆ¶Ž™¬¬ìíï*C0$01|}~45[s