Commit 1f086487 authored by wangp's avatar wangp

lakala

parent 4bacb07d
......@@ -184,6 +184,7 @@ func UnifiedOrder(input *models.PlaceAnOrderParamInput) (interface{}, error) {
//调拉卡拉接口
err, m_web_url, lakala_rtn := lakala_post(url, data_json)
if err != nil {
InsertPayBillDetailResponseBody(tx, billID, lakala_rtn)
return nil, err
}
......
......@@ -145,7 +145,7 @@ type Esign struct {
// Init 支持热修改的viper设置
func Init() error {
viper.SetConfigFile("conf/dev/config.yaml") // 指定配置文件路径
viper.SetConfigFile("conf/config.yaml") // 指定配置文件路径
err := viper.ReadInConfig() // 读取配置信息
if err != nil { // 读取配置信息失败
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