荣数处理加密前数据
This commit is contained in:
parent
3d696fabfd
commit
2ea309c6ad
|
@ -38,13 +38,13 @@ func (r *Market) SetData(c context.Context, data map[string]interface{}, config
|
|||
//data["app_id"] = "2783278"
|
||||
//data["mem_id"] = "2783278"
|
||||
//data["pos_id"] = "2783278"
|
||||
|
||||
//
|
||||
//sign, err := common.MarketMakeRsaSign(p, data)
|
||||
//if err != nil {
|
||||
// panic(err)
|
||||
//}
|
||||
//data["sign"] = sign
|
||||
//data := common.MergeMaps(common.ToMap(p), common.ToMap(r), common.ToMap(e))*/
|
||||
|
||||
requestBody := make(map[string]string, len(data))
|
||||
for key, value := range data {
|
||||
requestBody[key] = fmt.Sprintf("%v", value)
|
||||
|
|
|
@ -37,15 +37,15 @@ service Transfer {
|
|||
|
||||
message RsCouponGrantReq {
|
||||
string vendorNo = 1;
|
||||
Data data = 2;
|
||||
message Data{
|
||||
string sipOrderNo = 1;
|
||||
string voucherTag = 2;
|
||||
int32 accountType = 3;
|
||||
string accountNo = 4;
|
||||
string accountInfo = 5;
|
||||
int32 num = 6;
|
||||
}
|
||||
string data = 2;
|
||||
// message Data{
|
||||
// string sipOrderNo = 1;
|
||||
// string voucherTag = 2;
|
||||
// int32 accountType = 3;
|
||||
// string accountNo = 4;
|
||||
// string accountInfo = 5;
|
||||
// int32 num = 6;
|
||||
// }
|
||||
string sign = 3;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue