| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | @Controller |
| | | /*@Controller |
| | | @RequestMapping("/forepart/alipay") |
| | | public class ForepartAlipayAppController { |
| | | |
| | | /** |
| | | *//** |
| | | * Alipay客户端 |
| | | */ |
| | | *//* |
| | | private AlipayClient alipayClient; |
| | | |
| | | /**支付宝网关*/ |
| | | /** |
| | | *//**支付宝网关*//* |
| | | *//** |
| | | * 沙箱的 |
| | | */ |
| | | *//* |
| | | private static final String ALIPAY_BORDER_DEV = "https://openapi-sandbox.dl.alipaydev.com/gateway.do"; |
| | | /** |
| | | *//** |
| | | * 个人用户的 |
| | | */ |
| | | *//* |
| | | private static final String ALIPAY_BORDER_PROD = "https://openapi.alipay.com/gateway.do"; |
| | | /** |
| | | *//** |
| | | * appID |
| | | **/ |
| | | **//* |
| | | private static final String APP_ID_PROD = "2021003196653501"; |
| | | /** |
| | | *//** |
| | | * 私钥 |
| | | */ |
| | | *//* |
| | | private static final String APP_PRIVATE_KEY = ""; |
| | | /** |
| | | *//** |
| | | * 支付宝公钥 |
| | | */ |
| | | *//* |
| | | private static final String ALIPAY_PUBLIC_KEY = ""; |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | } |
| | | }*/ |