Files
wb-java-nc-shop/target/classes/com/nlshop/controller/merchant/MerchantController.class

26 lines
4.8 KiB
Plaintext
Raw Normal View History

2026-01-11 18:14:42 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>4<00>
 java/lang/Object<init>()V  
1com/nlshop/controller/merchant/MerchantControllermerchantService-Lcom/nlshop/service/merchant/MerchantService;
 +com/nlshop/service/merchant/MerchantServiceregisterN(Lcom/nlshop/dto/request/MerchantRegisterRequest;)Lcom/nlshop/entity/Merchant;
 #com/nlshop/dto/response/ApiResponsesuccess9(Ljava/lang/Object;)Lcom/nlshop/dto/response/ApiResponse;
 #com/nlshop/dto/request/LoginRequest getUsername()Ljava/lang/String;
 ! getPassword
# $%loginB(Ljava/lang/String;Ljava/lang/String;)Lcom/nlshop/entity/Merchant; '() *+%javax/servlet/http/HttpServletRequest
getSession#(Z)Ljavax/servlet/http/HttpSession;-userId
/01 23com/nlshop/entity/MerchantgetId()Ljava/lang/Long; 567 89javax/servlet/http/HttpSession setAttribute'(Ljava/lang/String;Ljava/lang/Object;)V;userType=merchant?username
/B%com/nlshop/dto/response/LoginResponse
AE
AG HIsetToken(Ljava/lang/String;)V
AK LM setUserId(Ljava/lang/Long;)V
AO PI setUserType
AR SI setUsername
/U V getStoreName
AX YIsetName 5[ \
invalidate '^ _` getAttribute&(Ljava/lang/String;)Ljava/lang/Object;bjava/lang/Longd 请先登录
f gherror9(Ljava/lang/String;)Lcom/nlshop/dto/response/ApiResponse;
j kl
getProfile.(Ljava/lang/Long;)Lcom/nlshop/entity/Merchant;
n op updateProfileJ(Ljava/lang/Long;Lcom/nlshop/entity/Merchant;)Lcom/nlshop/entity/Merchant;RuntimeVisibleAnnotations8Lorg/springframework/beans/factory/annotation/Autowired;CodeLineNumberTableLocalVariableTablethis3Lcom/nlshop/controller/merchant/MerchantController;W(Lcom/nlshop/dto/request/MerchantRegisterRequest;)Lcom/nlshop/dto/response/ApiResponse;request0Lcom/nlshop/dto/request/MerchantRegisterRequest;Lcom/nlshop/entity/Merchant;MethodParameters Signatureu(Lcom/nlshop/dto/request/MerchantRegisterRequest;)Lcom/nlshop/dto/response/ApiResponse<Lcom/nlshop/entity/Merchant;>;5Lorg/springframework/web/bind/annotation/PostMapping;value /register"RuntimeVisibleParameterAnnotations5Lorg/springframework/validation/annotation/Validated;5Lorg/springframework/web/bind/annotation/RequestBody;s(Lcom/nlshop/dto/request/LoginRequest;Ljavax/servlet/http/HttpServletRequest;)Lcom/nlshop/dto/response/ApiResponse;%Lcom/nlshop/dto/request/LoginRequest; httpRequest'Ljavax/servlet/http/HttpServletRequest;session Ljavax/servlet/http/HttpSession;response'Lcom/nlshop/dto/response/LoginResponse;<00>(Lcom/nlshop/dto/request/LoginRequest;Ljavax/servlet/http/HttpServletRequest;)Lcom/nlshop/dto/response/ApiResponse<Lcom/nlshop/dto/response/LoginResponse;>;/loginlogoutN(Ljavax/servlet/http/HttpServletRequest;)Lcom/nlshop/dto/response/ApiResponse; StackMapTable`(Ljavax/servlet/http/HttpServletRequest;)Lcom/nlshop/dto/response/ApiResponse<Ljava/lang/Void;>;/logout
merchantIdLjava/lang/Long;l(Ljavax/servlet/http/HttpServletRequest;)Lcom/nlshop/dto/response/ApiResponse<Lcom/nlshop/entity/Merchant;>;4Lorg/springframework/web/bind/annotation/GetMapping;/profilej(Lcom/nlshop/entity/Merchant;Ljavax/servlet/http/HttpServletRequest;)Lcom/nlshop/dto/response/ApiResponse;updated<00>(Lcom/nlshop/entity/Merchant;Ljavax/servlet/http/HttpServletRequest;)Lcom/nlshop/dto/response/ApiResponse<Lcom/nlshop/entity/Merchant;>;4Lorg/springframework/web/bind/annotation/PutMapping;
SourceFileMerchantController.java8Lorg/springframework/web/bind/annotation/RestController;8Lorg/springframework/web/bind/annotation/RequestMapping; /merchant! qrs/*<2A><01>tu vwxsP*<2A>+<2B> M,<2C><13>t
 u vwyz ={|y}~q<00>[s<00><00> <00><00>$<00>s<00>v*<2A>+<2B>+<2B><1F>"N,<04>&:,-<2D>.<2E>4:<<3C>4>-<2D>@<40>4<00>AY<41>C:D<>F-<2D>.<2E>J<<3C>N-<2D>@<40>Q-<2D>T<>W<05><13>t2 !$%&&1'>)G*N+W,^-g.p0u>vvwvy<00>v<00><00>f={]<00><00>G/<00><00>| y<00>}<00>q<00>[s<00><00> <00><00><00><00>so+<03>&M,<2C> ,<2C>Z<01><13>t56 79u vwy<00><00><00><00><01>5|y}<00>q<00>[s<00>k<00>s<00>$+,<2C>]<00>aM,<2C> c<>e<>*<2A>,<2C>iN-<2D><13>t> ?@BCu*$vw$y<00> <00><00>={<00><01>a|y}<00>q<00><00>[s<00>o<00>s<00>',,<2C>]<00>aN-<2D> c<>e<>*<2A>-+<2B>m:<04><13>tI JKM!Nu4'vw'={'y<00> <00><00>!<00>{<00><01>a| =y}<00>q<00><00>[s<00><00> <00><00><00>q<00><00><00>[s<00>