1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package sfps
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"net/http"
|
||||
@@ -693,10 +694,15 @@ func changeToRaw(urlIndex string, msg interface{}) (retVal map[string]interface{
|
||||
retVal["url_index"] = temp.UrlIndex
|
||||
retVal["status_desc"] = temp.StatusDesc
|
||||
}
|
||||
//签名
|
||||
b, _ := json.Marshal(retVal)
|
||||
sign := api.SfPsAPI.SignParam(b)
|
||||
retVal["sign"] = sign
|
||||
return retVal
|
||||
}
|
||||
|
||||
// GetVendorSource 辅助函数
|
||||
// 辅助函数
|
||||
|
||||
//获取订单来源标识符
|
||||
func GetVendorSource(vendorID int) (source string) {
|
||||
switch vendorID {
|
||||
|
||||
Reference in New Issue
Block a user