Commit 1f086487 authored by wangp's avatar wangp

lakala

parent 4bacb07d
...@@ -184,6 +184,7 @@ func UnifiedOrder(input *models.PlaceAnOrderParamInput) (interface{}, error) { ...@@ -184,6 +184,7 @@ func UnifiedOrder(input *models.PlaceAnOrderParamInput) (interface{}, error) {
//调拉卡拉接口 //调拉卡拉接口
err, m_web_url, lakala_rtn := lakala_post(url, data_json) err, m_web_url, lakala_rtn := lakala_post(url, data_json)
if err != nil { if err != nil {
InsertPayBillDetailResponseBody(tx, billID, lakala_rtn)
return nil, err return nil, err
} }
......
...@@ -145,7 +145,7 @@ type Esign struct { ...@@ -145,7 +145,7 @@ type Esign struct {
// Init 支持热修改的viper设置 // Init 支持热修改的viper设置
func Init() error { func Init() error {
viper.SetConfigFile("conf/dev/config.yaml") // 指定配置文件路径 viper.SetConfigFile("conf/config.yaml") // 指定配置文件路径
err := viper.ReadInConfig() // 读取配置信息 err := viper.ReadInConfig() // 读取配置信息
if err != nil { // 读取配置信息失败 if err != nil { // 读取配置信息失败
fmt.Printf("viper.ReadInConfig failed, new_error:%v\n", err) fmt.Printf("viper.ReadInConfig failed, new_error:%v\n", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment