Compare commits
47
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fb3681628 | ||
|
|
1b33c1f241 | ||
|
|
74b5610514 | ||
|
|
b0c42eb5af | ||
|
|
8229e13bfa | ||
|
|
2edbd35d34 | ||
|
|
0e31e6da8d | ||
|
|
19afa0fc7c | ||
|
|
fce37aaa1b | ||
|
|
952d6300f8 | ||
|
|
e7d500fb58 | ||
|
|
77f298911d | ||
|
|
a0eddcda73 | ||
|
|
4e34962e21 | ||
|
|
fadc95d092 | ||
|
|
da3f8ef6b5 | ||
|
|
be6f077f1b | ||
|
|
4faa16a7cc | ||
|
|
6d3968b1ac | ||
|
|
ae2419e375 | ||
|
|
5584f92b1e | ||
|
|
f4f691d37a | ||
|
|
a28597d6e2 | ||
|
|
29caf66739 | ||
|
|
8d946cc6cf | ||
|
|
b61304250e | ||
|
|
17ed9396ce | ||
|
|
7f76324919 | ||
|
|
0c0ca9c02c | ||
|
|
c1b58d4d97 | ||
|
|
d9d0ab1df6 | ||
|
|
89e2978a4d | ||
|
|
dbd6a3966f | ||
|
|
c622292252 | ||
|
|
cc4783e2b7 | ||
|
|
ee57219ea8 | ||
|
|
0e91b4c3a3 | ||
|
|
77c6ab6f44 | ||
|
|
0f31485d8c | ||
|
|
f11895c113 | ||
|
|
882fcb9a55 | ||
|
|
db2c47bfed | ||
|
|
f8ccf96e58 | ||
|
|
29c8e1b3d7 | ||
|
|
01eda96f23 | ||
|
|
d36b9217fd | ||
|
|
f2a8f52395 |
@@ -4,6 +4,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"gorm.io/gorm"
|
||||
"hospital-admin-api/config"
|
||||
"hospital-admin-api/api/dao"
|
||||
"hospital-admin-api/api/model"
|
||||
"hospital-admin-api/extend/aliyun"
|
||||
@@ -248,7 +249,7 @@ func (r *OrderService) ReportPreProduct(orderProductId, adminUserId int64) (bool
|
||||
|
||||
// 处理上传数据-基础数据
|
||||
ReportPreRequest := prescription.ReportPreRequest{
|
||||
TerminalCode: "ZD-10003",
|
||||
TerminalCode: config.C.Pre.PrePlatTerminalCode,
|
||||
OrderNo: orderProduct.OrderProductNo, // 订单编号
|
||||
TransactNo: orderProduct.EscrowTradeNo, // 流水单号
|
||||
PayDate: time.Time(orderProduct.PayTime).Format("2006-01-02 15:04:05"), // 支付时间
|
||||
|
||||
@@ -110,6 +110,7 @@ pre:
|
||||
pre-plat-client-secret: 4sdjas2387sjdasjhdas289
|
||||
pre-plat-app-url: http://cf-thirdapi-test.yctang.net/api/thridapi/
|
||||
pre-plat-pharmacy-code: ZD-10198
|
||||
pre-plat-terminal-code: ZD-10199
|
||||
|
||||
# [rabbitMq]
|
||||
amqp:
|
||||
|
||||
@@ -5,4 +5,5 @@ type Pre struct {
|
||||
PrePlatClientSecret string `mapstructure:"pre-plat-client-secret" json:"pre-plat-client-secret" yaml:"pre-plat-client-secret"`
|
||||
PrePlatAppUrl string `mapstructure:"pre-plat-app-url" json:"pre-plat-app-url" yaml:"pre-plat-app-url"`
|
||||
PrePlatPharmacyCode string `mapstructure:"pre-plat-pharmacy-code" json:"pre-plat-pharmacy-code" yaml:"pre-plat-pharmacy-code"`
|
||||
PrePlatTerminalCode string `mapstructure:"pre-plat-terminal-code" json:"pre-plat-terminal-code" yaml:"pre-plat-terminal-code"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user