Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lei
fzm-joying
Commits
33ae95bd
Commit
33ae95bd
authored
Feb 17, 2022
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无效类
parent
c06c3ea5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
40 deletions
+18
-40
NftController.java
...src/main/java/com/fzm/admin/controller/NftController.java
+0
-3
RefundController.java
.../main/java/com/fzm/admin/controller/RefundController.java
+0
-2
application-prod.yml
joying-admin/src/main/resources/application-prod.yml
+2
-0
ObsConfig.java
...common/src/main/java/com/fzm/common/config/ObsConfig.java
+2
-0
ObsProperties.java
...rc/main/java/com/fzm/common/properties/ObsProperties.java
+0
-1
OssProperties.java
...rc/main/java/com/fzm/common/properties/OssProperties.java
+0
-31
UserServiceImpl.java
...ain/java/com/fzm/common/service/impl/UserServiceImpl.java
+0
-3
logback.2022-02-17.0.log
logs/logback.2022-02-17.0.log
+0
-0
joying.sql
sql/joying.sql
+14
-0
No files found.
joying-admin/src/main/java/com/fzm/admin/controller/NftController.java
View file @
33ae95bd
...
...
@@ -31,9 +31,6 @@ import java.util.List;
public
class
NftController
{
@Resource
private
RabbitTemplate
rabbitTemplate
;
@Resource
private
NftService
nftService
;
@Resource
...
...
joying-admin/src/main/java/com/fzm/admin/controller/RefundController.java
View file @
33ae95bd
...
...
@@ -2,10 +2,8 @@ package com.fzm.admin.controller;
import
com.fzm.common.annotation.Authentication
;
import
com.fzm.common.entity.vo.PaymentVo
;
import
com.fzm.common.enums.RefundLaunchChannel
;
import
com.fzm.common.model.ResponseModel
;
import
com.fzm.common.service.RefundService
;
import
com.fzm.common.service.WxPayService
;
import
com.github.pagehelper.PageInfo
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
joying-admin/src/main/resources/application-prod.yml
View file @
33ae95bd
...
...
@@ -104,6 +104,8 @@ wx-pay:
api-v3-key
:
D864DA53FEF8ACD41519064967DC10D2
mch-serial-num
:
72A62544B0A08A214FAEC780108692EDC6E7D5FA
private-key-path
:
apiclient_key.pem
pay-notify-url
:
https://nft.inmvo.com/proxyApi/wx-pay/notify/jsapi
refund-notify-url
:
https://nft.inmvo.com/proxyApi/wx-pay/notify/refund
sms
:
app-key
:
Yiru
...
...
joying-common/src/main/java/com/fzm/common/config/ObsConfig.java
View file @
33ae95bd
...
...
@@ -2,6 +2,7 @@ package com.fzm.common.config;
import
com.fzm.common.properties.ObsProperties
;
import
com.obs.services.ObsClient
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
...
...
@@ -11,6 +12,7 @@ import org.springframework.context.annotation.Configuration;
* @date 2021/12/31 14:51
*/
@Configuration
@EnableConfigurationProperties
(
value
=
ObsProperties
.
class
)
public
class
ObsConfig
{
@Bean
...
...
joying-common/src/main/java/com/fzm/common/properties/ObsProperties.java
View file @
33ae95bd
...
...
@@ -9,7 +9,6 @@ import org.springframework.stereotype.Component;
* @date 2021/6/29 15:54
*/
@Data
@Component
@ConfigurationProperties
(
prefix
=
"huaweiyun.obs"
)
public
class
ObsProperties
{
...
...
joying-common/src/main/java/com/fzm/common/properties/OssProperties.java
deleted
100644 → 0
View file @
c06c3ea5
package
com
.
fzm
.
common
.
properties
;
import
lombok.Data
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.stereotype.Component
;
/**
* @author tangtuo
* @date 2021/6/29 15:54
*/
@Data
@Component
@ConfigurationProperties
(
prefix
=
"aliyun.oss"
)
public
class
OssProperties
{
private
String
appKey
;
private
String
appSecret
;
private
String
endPoint
;
/**
* 非加密文件存储的bucket
*/
private
String
simpleBucket
;
/**
* 加密文件存储的bucket
*/
private
String
encryptBucket
;
}
joying-common/src/main/java/com/fzm/common/service/impl/UserServiceImpl.java
View file @
33ae95bd
...
...
@@ -22,7 +22,6 @@ import com.fzm.common.enums.ResultCode;
import
com.fzm.common.exception.GlobalException
;
import
com.fzm.common.mapper.UserMapper
;
import
com.fzm.common.params.LoginParam
;
import
com.fzm.common.properties.OssProperties
;
import
com.fzm.common.properties.SmsProperties
;
import
com.fzm.common.service.AuthPersonService
;
import
com.fzm.common.service.UserService
;
...
...
@@ -84,8 +83,6 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
@Resource
private
ObsUtil
obsUtil
;
@Resource
private
OssProperties
ossProperties
;
@Override
public
User
loadUserByUsername
(
String
username
)
{
...
...
logs/logback.2022-02-17.0.log
0 → 100644
View file @
33ae95bd
This diff is collapsed.
Click to expand it.
sql/joying.sql
View file @
33ae95bd
...
...
@@ -650,3 +650,16 @@ CREATE TABLE `tb_refund` (
`update_date`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
CHARACTER
SET
=
utf8mb4
COLLATE
=
utf8mb4_general_ci
ROW_FORMAT
=
Dynamic
;
DROP
TABLE
IF
EXISTS
`tb_charge`
;
CREATE
TABLE
`tb_charge`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`fee`
bigint
(
19
)
NOT
NULL
DEFAULT
0
COMMENT
'费用(分)'
,
`type`
tinyint
(
1
)
NOT
NULL
COMMENT
'收费类型 1-nft发行 2-版权申请'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
3
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
ROW_FORMAT
=
Dynamic
;
-- ----------------------------
-- Records of tb_charge
-- ----------------------------
INSERT
INTO
`tb_charge`
VALUES
(
1
,
0
,
1
);
INSERT
INTO
`tb_charge`
VALUES
(
2
,
0
,
2
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment