|
|
|
|
559
|
nonce := GetRandomString(32)
|
559
|
nonce := GetRandomString(32)
|
560
|
timestamp := time.Now().Unix()
|
560
|
timestamp := time.Now().Unix()
|
561
|
signature := setSignature(timestamp, nonce, secret_key)
|
561
|
signature := setSignature(timestamp, nonce, secret_key)
|
562
|
-
|
|
|
|
|
562
|
+ tempTime := time.Unix(timestamp, 0)
|
563
|
|
563
|
|
564
|
-
|
|
|
|
|
564
|
+ timeFormatOne := tempTime.Format("2006-01-02 15:04:05")
|
565
|
|
565
|
|
566
|
|
566
|
|
567
|
var customs []*models.NewCustom
|
567
|
var customs []*models.NewCustom
|
|
|
|
|
580
|
feedetailInfo["mdtrt_id"] = mdtrtId
|
580
|
feedetailInfo["mdtrt_id"] = mdtrtId
|
581
|
feedetailInfo["psn_no"] = psnNo
|
581
|
feedetailInfo["psn_no"] = psnNo
|
582
|
feedetailInfo["med_type"] = med_type
|
582
|
feedetailInfo["med_type"] = med_type
|
583
|
- feedetailInfo["fee_ocur_time"] = item.FeeOcurTime
|
|
|
|
|
583
|
+ feedetailInfo["fee_ocur_time"] = timeFormatOne
|
584
|
feedetailInfo["med_list_codg"] = item.MedListCodg
|
584
|
feedetailInfo["med_list_codg"] = item.MedListCodg
|
585
|
feedetailInfo["medins_list_codg"] = fixmedins_code
|
585
|
feedetailInfo["medins_list_codg"] = fixmedins_code
|
586
|
feedetailInfo["det_item_fee_sumamt"] = item.DetItemFeeSumamt
|
586
|
feedetailInfo["det_item_fee_sumamt"] = item.DetItemFeeSumamt
|
|
|
|
|
781
|
inputData["acct_used_flag"] = "1"
|
781
|
inputData["acct_used_flag"] = "1"
|
782
|
inputData["insutype"] = insutype
|
782
|
inputData["insutype"] = insutype
|
783
|
inputData["invono"] = ""
|
783
|
inputData["invono"] = ""
|
|
|
784
|
+ inputData["dise_codg"] = "M07803"
|
784
|
|
785
|
|
785
|
input["data"] = inputData
|
786
|
input["data"] = inputData
|
786
|
inputMessage["input"] = input
|
787
|
inputMessage["input"] = input
|