Compare commits

..

15 Commits

Author SHA1 Message Date
3ff698e94f Merge branch 'jng' 2025-07-16 19:27:48 +08:00
130bb26ebf 修改 2025-07-16 17:54:15 +08:00
sxy
f672ecf670 Merge branch 'sxy-sec'
"x修改symbol"
2025-07-16 10:45:46 +08:00
sxy
2220a78c19 修改官网symbol 2025-07-16 10:44:43 +08:00
36aaa0a365 fix: map中增加两个新金额 2025-07-15 10:31:53 +08:00
b86e759146 修改 2025-07-11 09:39:44 +08:00
fa468e0130 修改 2025-07-08 16:21:06 +08:00
403f065486 11 2025-07-08 16:18:46 +08:00
54326ebe01 对账单添加手续费 2025-07-08 16:13:30 +08:00
9c6f1ae832 fix: 处理pb 2025-07-08 15:22:58 +08:00
80e45457ec Merge branch 'feat-zjy-issue-013' into main
# Conflicts:
#	api/bundle/bundle.pb.go
2025-07-08 15:21:49 +08:00
sxy
bc1bdf1fc0 Merge branch 'sxy-sec'
"官网sec文件"
2025-07-08 13:07:11 +08:00
sxy
817c685190 修改官网link 2025-07-08 13:02:54 +08:00
sxy
c3009b2086 修改官网link 2025-07-08 11:47:22 +08:00
lzh
7c2f3b5545 proto更新 2025-07-07 11:59:28 +08:00
11 changed files with 1563 additions and 1454 deletions

8
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

File diff suppressed because one or more lines are too long

9
.idea/fonchain-fiee.iml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="Go" enabled="true" />
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GitToolBoxBlameSettings">
<option name="version" value="2" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/fonchain-fiee.iml" filepath="$PROJECT_DIR$/.idea/fonchain-fiee.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

File diff suppressed because it is too large Load Diff

36
conf/conf.ini Normal file
View File

@ -0,0 +1,36 @@
[system]
Domain = "fiee"
AppMode = "debug"
HttpPort = ":8085"
Host = "http://127.0.0.1:8085"
RedirectUri = "/api/redirect/url"
[bos]
Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe"
Sk = "d2ecaa9d75114d3b9f42b99014198306"
BucketName = "dci-file-new"
BosUrl = ".bj.bcebos.com"
BosBaseDir = "fonchain-main"
BosHttp = "https://"
BosDomain = "cdns.fontree.cn"
[oss]
AccessKeyId = "LTAI5tLz1fSK53FQAEC9uNSb"
AccessKeySecret = "oGB9chrQzQzITXR2IGv37Ji5WxZh4j"
Endpoint = "oss-cn-hangzhou.aliyuncs.com"
BucketName = "fontree-test"
BaseDir = "fonchain-main"
CdnHost = "https://cdn-test.szjixun.cn"
[redis]
RedisDB = "2"
RedisAddr = "127.0.0.1:6379"
RedisPW = ""
RedisDBNAme = "2"
[ai]
Host = "https://erpapi.fontree.cn"
TelNum = "18021272627"
Password = "Gy.123456"
[service]
IsHTTPS = false

View File

@ -607,7 +607,7 @@ func exportExcel(orderList []*bundle.OrderBundleRecordInfo) (*excelize.File, err
headers := []string{
"套餐订单号", "套餐类型", "套餐付款状态", "艺人手机号", "艺人", "套餐订单创建时间", "套餐支付时间", "套餐金额",
"增值服务订单号", "增值税服务金额", "结算金额", "币种", "手续费", "增值订单创建时间", "增值付款状态",
"增值服务订单号", "增值税服务金额", "支付金额", "币种", "手续费", "增值订单创建时间", "增值付款状态",
}
for i, h := range headers {
cell := fmt.Sprintf("%s%d", string(rune('A'+i)), 1)

View File

@ -45,7 +45,7 @@ func GetReconciliationListDownload(c *gin.Context) {
return
}
titleList := []string{
"关联套餐订单号", "关联增值服务订单号", "对账单创建时间", "艺人", "艺人手机号", "套餐", "支付金额", "币种", "支付渠道", "支付时间", "支付状态", "流水号",
"关联套餐订单号", "关联增值服务订单号", "对账单创建时间", "艺人", "艺人手机号", "套餐", "支付金额", "手续费", "币种", "支付渠道", "支付时间", "支付状态", "流水号",
}
var dataList []interface{}
@ -64,6 +64,7 @@ func GetReconciliationListDownload(c *gin.Context) {
i.UserTel,
i.BundleName,
i.PayAmount,
i.HandlingFee,
currencyType,
payChannel,
i.PayTime,
@ -180,6 +181,8 @@ func AutoCreateUserAndOrder(c *gin.Context) {
numMap["10500.00"] = 20
numMap["11500.00"] = 25
numMap["14100.00"] = 30
numMap["16200.00"] = 35
numMap["18300.00"] = 40
incrMap := make(map[string]float32)
incrMap["3150.00"] = 1650
incrMap["5600.00"] = 4100
@ -188,6 +191,8 @@ func AutoCreateUserAndOrder(c *gin.Context) {
incrMap["10500.00"] = 9000
incrMap["11500.00"] = 10000
incrMap["14100.00"] = 12600
incrMap["16200.00"] = 14700
incrMap["18300.00"] = 16800
addTotalPrice = incrMap[unfinishInfo.OrderPayAmount]
fmt.Println("incrMap:", incrMap)
fmt.Println("unfinishInfo.OrderPayAmount:", unfinishInfo.OrderPayAmount)
@ -330,6 +335,7 @@ func AutoCreateUserAndOrder(c *gin.Context) {
PayTime: unfinishInfo.PayTime,
UserID: uint64(userResp.UserId),
SerialNumber: unfinishInfo.OrderNo,
HandlingFee: unfinishInfo.OrderFeeAmount,
})
if err != nil {
fmt.Println("=============== antom创建支付创建对账单报错", err)

View File

@ -147,7 +147,7 @@ func GetSecFilings(c *gin.Context) {
return
}
fmt.Println(req.FilingDate)
symbol := "MINM"
symbol := "FIEE"
beginDate := req.FilingDate
endDate := req.FilingDate
page := 0
@ -191,7 +191,7 @@ func GetSecFilings(c *gin.Context) {
res, err := service.SecFilingProvider.IsSecFilingExist(c, &secFilings.IsSecFilingExistReq{
FilingDate: req.FilingDate,
Form: v.FormType,
FinalLink: v.FinalLink,
FinalLink: v.Link,
})
if err != nil {
service.Error(c, err)
@ -200,7 +200,7 @@ func GetSecFilings(c *gin.Context) {
data.Data = append(data.Data, &GetSecFilingsResult{
FilingDate: req.FilingDate,
Form: v.FormType,
FileLink: v.FinalLink,
FileLink: v.Link,
IsSelect: res.Exist,
})
data.Total++