Modify comment
This commit is contained in:
parent
2b4773b67e
commit
57d0863745
@ -26,6 +26,7 @@ type FeeAuditUtils struct {
|
||||
Cert []byte
|
||||
}
|
||||
|
||||
// NewFeeAuditUtils 用來産生 FeeAuditUtils
|
||||
func NewFeeAuditUtils(unitNo, sourceSystem, hash, url, certPath string) (feeAuditUtils FeeAuditUtils, err error) {
|
||||
stringutils := golanghelper.StringUtils{}
|
||||
if stringutils.IsEmpty(unitNo) || stringutils.IsEmpty(sourceSystem) || stringutils.IsEmpty(hash) ||
|
||||
@ -117,7 +118,7 @@ func (f *FeeAuditUtils) httpsPost(funcName string, writeoffRequest WriteoffReque
|
||||
return
|
||||
}
|
||||
|
||||
// CreateRequest 用來産生 WirteoffRequest
|
||||
// NewRequest 用來産生 WirteoffRequest
|
||||
func (f *FeeAuditUtils) NewRequest(data []byte) WriteoffRequest {
|
||||
apData := base64.StdEncoding.EncodeToString(data)
|
||||
|
||||
@ -153,11 +154,6 @@ func (f *FeeAuditUtils) SendFeeApply(writeoffRequest WriteoffRequest) (feeApplyR
|
||||
|
||||
// SendObjDel 傳送服務紀錄刪除
|
||||
func (f *FeeAuditUtils) SendObjDel(writeoffRequest WriteoffRequest) (err error) {
|
||||
//uploadData, err := json.Marshal(&objDel)
|
||||
//if err != nil {
|
||||
// return
|
||||
//}
|
||||
|
||||
_, err = f.httpsPost("ObjDel", writeoffRequest)
|
||||
|
||||
return
|
||||
@ -165,11 +161,6 @@ func (f *FeeAuditUtils) SendObjDel(writeoffRequest WriteoffRequest) (err error)
|
||||
|
||||
// SendAppCompletionNotice 傳送申報確認通知
|
||||
func (f *FeeAuditUtils) SendAppCompletionNotice(writeoffRequest WriteoffRequest) (err error) {
|
||||
//uploadData, err := json.Marshal(&appCompletionNotice)
|
||||
//if err != nil {
|
||||
// return
|
||||
//}
|
||||
|
||||
_, err = f.httpsPost("appCompletionNotice", writeoffRequest)
|
||||
|
||||
return
|
||||
@ -177,11 +168,6 @@ func (f *FeeAuditUtils) SendAppCompletionNotice(writeoffRequest WriteoffRequest)
|
||||
|
||||
// SendAppResultQuery 傳送「服務單位各分案審核狀態查詢」或「分案審核明細查詢」
|
||||
func (f *FeeAuditUtils) SendAppResultQuery(writeoffRequest WriteoffRequest) (appResultQueryResult AppResultQueryResult, err error) {
|
||||
//uploadData, err := json.Marshal(&appResultQuery)
|
||||
//if err != nil {
|
||||
// return
|
||||
//}
|
||||
|
||||
writeoffResponse, err := f.httpsPost("appResultQuery", writeoffRequest)
|
||||
if err != nil {
|
||||
return
|
||||
@ -196,11 +182,6 @@ func (f *FeeAuditUtils) SendAppResultQuery(writeoffRequest WriteoffRequest) (app
|
||||
|
||||
// SendAppCancel 傳送撤回服務記錄
|
||||
func (f *FeeAuditUtils) SendAppCancel(writeoffRequest WriteoffRequest) (err error) {
|
||||
//uploadData, err := json.Marshal(&appCancel)
|
||||
//if err != nil {
|
||||
// return
|
||||
//}
|
||||
|
||||
_, err = f.httpsPost("appCancel", writeoffRequest)
|
||||
|
||||
return
|
||||
@ -208,11 +189,6 @@ func (f *FeeAuditUtils) SendAppCancel(writeoffRequest WriteoffRequest) (err erro
|
||||
|
||||
// SendCancelResultResponse 傳送取消交易單處理結果回報
|
||||
func (f *FeeAuditUtils) SendCancelResultResponse(writeoffRequest WriteoffRequest) (err error) {
|
||||
//uploadData, err := json.Marshal(&cancelResultResponse)
|
||||
//if err != nil {
|
||||
// return
|
||||
//}
|
||||
|
||||
_, err = f.httpsPost("CancelResultResponse", writeoffRequest)
|
||||
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user