| | |
| | | return ServerResponse.createByErrorCodeMsg(401,googleTranslateUtil.translate("请登录",lang )); |
| | | } |
| | | |
| | | if(type == 1){//支付1 |
| | | return getPaymentOne(tradeAmount, reqUrl,user,request); |
| | | }else if(type == 2){//支付2 |
| | | return getPaymentTwo(tradeAmount, uipReqRul, user,request); |
| | | } |
| | | // if(type == 1){//支付1 |
| | | // return getPaymentOne(tradeAmount, reqUrl,user,request); |
| | | // }else if(type == 2){//支付2 |
| | | // return getPaymentTwo(tradeAmount, uipReqRul, user,request); |
| | | // } |
| | | return ServerResponse.createByErrorMsg("获取支付方式失败",request); |
| | | } |
| | | |
| | |
| | | ftp.server.http.prefix=https://img.durocaspitall.com/ |
| | | |
| | | redis1.ip=localhost |
| | | redis1.port=6379 |
| | | redis1.port=6380 |
| | | redis1.pwd= |
| | | redis1.timeout=10000 |
| | | redis.max.total=50 |
| | |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: localhost |
| | | host: 127.0.0.1 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | port: 6380 |
| | | # 数据库索引 |
| | | database: 0 |
| | | database: 5 |
| | | # 密码 |
| | | password: |
| | | # 连接超时时间 |
| | |
| | | datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://127.0.0.1:3306/stock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://127.0.0.1:6306/stock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # url: jdbc:mysql://127.0.0.1:3306/cgstock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: 123456 |
| | | password: Err;2[eoGFUriwdgr |
| | | druid: |
| | | # 初始连接数 |
| | | initialSize: 5 |