-
大小: 122KB文件类型: .rar金币: 1下载: 0 次发布日期: 2021-05-28
- 语言: 其他
- 标签: springboot 微信支付 微信提现
资源简介
用springboot矿建搭建的, 企业付款到个人零钱的源码demo,可以实现用户提现功能。
代码片段和文件信息
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License Version 2.0 (the
“License“); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing
software distributed under the License is distributed on an
“AS IS“ BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.util.Properties;
public class MavenWrapperDownloader {
/**
* Default URL to download the maven-wrapper.jar from if no ‘downloadUrl‘ is provided.
*/
private static final String DEFAULT_DOWNLOAD_URL =
“https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar“;
/**
* Path to the maven-wrapper.properties file which might contain a downloadUrl property to
* use instead of the default one.
*/
private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
“.mvn/wrapper/maven-wrapper.properties“;
/**
* Path where the maven-wrapper.jar will be saved to.
*/
private static final String MAVEN_WRAPPER_JAR_PATH =
“.mvn/wrapper/maven-wrapper.jar“;
/**
* Name of the property which should be used to override the default download url for the wrapper.
*/
private static final String PROPERTY_NAME_WRAPPER_URL = “wrapperUrl“;
public static void main(String args[]) {
System.out.println(“- Downloader started“);
File baseDirectory = new File(args[0]);
System.out.println(“- Using base directory: “ + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if (mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL url);
} catch (IOException e) {
Syst
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1515 2017-11-10 17:04 wxpay\.classpath
文件 333 2019-07-22 16:27 wxpay\.gitignore
文件 447 2019-07-19 20:01 wxpay\.idea\artifacts\wxpay_war.xm
文件 3407 2019-07-19 20:01 wxpay\.idea\artifacts\wxpay_war_exploded.xm
文件 806 2019-07-22 16:33 wxpay\.idea\compiler.xm
文件 209 2019-07-22 16:33 wxpay\.idea\encodings.xm
文件 592 2019-07-29 14:30 wxpay\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xm
文件 571 2019-07-29 14:30 wxpay\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xm
文件 567 2019-07-29 14:30 wxpay\.idea\libraries\Maven__commons_codec_commons_codec_1_11.xm
文件 538 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_alibaba_fastjson_1_2_56.xm
文件 546 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_fasterxm
文件 668 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_fasterxm
文件 619 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_fasterxm
文件 647 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_fasterxm
文件 698 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_fasterxm
文件 712 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_fasterxm
文件 753 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_fasterxm
文件 570 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xm
文件 589 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_ning_async_http_client_1_9_40.xm
文件 724 2019-07-29 14:30 wxpay\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xm
文件 547 2019-07-29 14:30 wxpay\.idea\libraries\Maven__io_netty_netty_3_10_6_Final.xm
文件 635 2019-07-29 14:30 wxpay\.idea\libraries\Maven__javax_annotation_javax_annotation_api_1_3_2.xm
文件 602 2019-07-29 14:30 wxpay\.idea\libraries\Maven__javax_servlet_javax_servlet_api_3_1_0.xm
文件 635 2019-07-29 14:30 wxpay\.idea\libraries\Maven__javax_validation_validation_api_2_0_1_Final.xm
文件 479 2019-07-29 14:30 wxpay\.idea\libraries\Maven__junit_junit_4_12.xm
文件 493 2019-07-29 14:30 wxpay\.idea\libraries\Maven__log4j_log4j_1_2_17.xm
文件 560 2019-07-29 14:30 wxpay\.idea\libraries\Maven__net_bytebuddy_byte_buddy_1_9_13.xm
文件 602 2019-07-29 14:30 wxpay\.idea\libraries\Maven__net_bytebuddy_byte_buddy_agent_1_9_13.xm
文件 566 2019-07-29 14:30 wxpay\.idea\libraries\Maven__net_minidev_accessors_smart_1_2.xm
文件 531 2019-07-29 14:30 wxpay\.idea\libraries\Maven__net_minidev_json_smart_2_3.xm
............此处省略146个文件信息
- 上一篇:用户收看电视节目的数据
- 下一篇:课程设计题七:交通灯控制器.zip
相关资源
- 尚硅谷18年最新SpringBoot培训视频自动
- 微信公众号支付
- SpringBoot2.1.4+Mybatis+PageHelper整合
- springboot2.0+mybatis主从数据库双数据源
- 基于 springboot2.0 实现的人脸识别登陆
- SpringBoot整合Redis
- 尚硅谷SpringBoot核心技术篇视频教程,
- 动力节点springboot视频教程,百度网盘
- SpringBoot操作多数据源JPA+JdbcTemplate
- Springboot中使用数据库配置定时任务
- springboot+ajax
- 基于 Springboot、Shiro、Mybatis、Thymelea
- springboot shiro pac4j cas jwt认证中心sso完
- 尚硅谷Spring Boot视频教程上、下篇+s
- SpringBoot2.0不容错过的新特性 WebFlux响
- Spring Boot整合SpringDataJPA
- SpringBoot整合ActiveMQ(消息中间件)实
- springboot与netty整合
- SpringBootVue全栈开发实战+整本代码.t
- springboot实现微信公众号模版消息推送
- SpringBoot SSM框架适合刚接触的,和新手
- 某课网廖老师的springboot微信点餐系统
- mongodb_replica
-
Hba
seSpringboot实战分布式文件存储. - springboot webscoket 实现群聊,点对点聊
- springboot+ElasticSearch搜索引擎
- springboot集成jwt和shiro实现前后端分离
- springboot经典项目
- 仿微信 支付宝支付密码界面htm
- springboot+beetl+i18n.zip
评论
共有 条评论