Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
8415d450ed
4 changed files with 17 additions and 3 deletions
  1. +14
    -0
      card_pay/card_pay.go
  2. +1
    -1
      dataoke/dataoke.go
  3. +1
    -1
      jingtuitui/jingtuitui.go
  4. +1
    -1
      taobao/search_list.go

+ 14
- 0
card_pay/card_pay.go View File

@@ -226,3 +226,17 @@ func WithdrawalForSubMerchant(keyArr, param map[string]string) (string, error) {
//}
return CardPaySend("/api/txs/pay/WithdrawalForSubMerchant", keyArr, param)
}
func WithdrawalQueryForSubMerchant(keyArr, param map[string]string) (string, error) {

//param := map[string]string{
// "version": "3.0",
// "outTradeNo": "1233333444",
// "memberId": "562658004035964",
// //"protocol": "p202306201841814421887",
// "payAmount": "98",
// "procedureCustomerCode": "",
// "payCurrency": "CNY",
// "notifyUrl": "http://inapi.izhyin.cn/api/v1/swipe/withdrawal/notify/123456",
//}
return CardPaySend("/api/txs/pay/WithdrawalQueryForSubMerchant", keyArr, param)
}

+ 1
- 1
dataoke/dataoke.go View File

@@ -14,7 +14,7 @@ func DataokeFriendsCircleList(params map[string]string) []map[string]string {
if err != nil {
return goods
}
data := gjson.Get(string(resp), "data").String()
data := gjson.Get(string(resp), "data.list").String()
if data == "" {
return goods
}


+ 1
- 1
jingtuitui/jingtuitui.go View File

@@ -13,7 +13,7 @@ func JingtuituiGetCircleList(params map[string]string) []map[string]string {
if err != nil {
return goods
}
data := gjson.Get(string(resp), "data").String()
data := gjson.Get(string(resp), "result.data").String()
if data == "" {
return goods
}


+ 1
- 1
taobao/search_list.go View File

@@ -167,7 +167,7 @@ func (t *TB) GetList(tbArgs map[string]string, bizSceneId string) ([]byte, error
return resp, nil
}
func (t *TB) SearchList(args map[string]string) (*[]Material, error) {
resp, err := t.GetList(args, "2")
resp, err := t.GetList(args, "")
//如果是跟随官方 结构不一样
if t.AuthType == 1 {
var tmp scMaterialOptionalStruct


Loading…
Cancel
Save