规范代码,去掉没用的注释

This commit is contained in:
clunt 2022-04-11 10:37:58 +08:00
parent eb8d4a8256
commit d11d8cb3f9
1 changed files with 2 additions and 3 deletions

View File

@ -5,10 +5,9 @@ import com.ghy.common.core.controller.BaseController;
import com.ghy.common.core.domain.AjaxResult;
import com.ghy.common.utils.WxUtils;
import org.springframework.stereotype.Controller;
import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
@ -16,7 +15,6 @@ import javax.servlet.http.HttpServletRequest;
@RequestMapping("/pay/wx")
public class WxPayController extends BaseController {
/**
* 微信公众号支付.
* https://open.weixin.qq.com/connect/oauth2/authorize?
@ -26,6 +24,7 @@ public class WxPayController extends BaseController {
* &scope=snsapi_userinfo&state=STATE&connect_redirect=1#wechat_redirect
* */
@GetMapping("/pub")
@ResponseBody
public AjaxResult pubPay(HttpServletRequest request){
String code = request.getParameter("code");