public class AddModel
{
//AppID(接口提供方提供)
public string appid { get; set; }
//数据Base64加密
public string data { get; set; }
//随机数
public string noise { get; set; }
//版本号
public string version { get; set; }
//秘钥
public string sign { get; set; }
}

string StrSign = StringSign(strData, strNoise);
AddModel addModel = new AddModel();
addModel.appid = strAppid;
addModel.data = strData;
addModel.noise = strNoise;
addModel.version = StrVersion;
addModel.sign = StrSign;
string jsonstr = JsonConvert.SerializeObject(addModel);

相关文章:

  • 2022-02-05
  • 2021-10-04
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2021-12-29
猜你喜欢
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2021-12-06
  • 2021-10-19
相关资源
相似解决方案