/// <summary> /// 交易会话信息 /// </summary> /// <param name="config"></param> /// <param name="prePayId"></param> /// <param name="noncestr"></param> internal AppPrePayIdOrder(Config config, string prePayId, string noncestr) { appid = config.appid; partnerid = config.partnerid; prepayid = prePayId; this.noncestr = noncestr; timestamp = ((AutoCSer.Threading.SecondTimer.SetNow().Ticks - AutoCSer.JsonDeSerializer.JavascriptLocalMinTimeTicks) / TimeSpan.TicksPerSecond).toString(); Sign <AppPrePayIdOrder> .Set(this, config.key); }
/// <summary> /// 交易会话信息 /// </summary> /// <param name="config"></param> /// <param name="prePayId"></param> /// <param name="noncestr"></param> internal AppPrePayIdOrder(Config config, string prePayId, string noncestr) { appid = config.appid; partnerid = config.partnerid; prepayid = prePayId; this.noncestr = noncestr; timestamp = (((Date.NowTime.Set().Ticks) - AutoCSer.Json.Parser.JavascriptLocalMinTimeTicks) / TimeSpan.TicksPerSecond).toString(); Sign <AppPrePayIdOrder> .Set(this, config.key); }
/// <summary> /// 设置应用配置 /// </summary> /// <param name="config">应用配置</param> internal void SetConfig(Config config) { setConfig(config); Sign <AppPrePayIdQuery> .Set(this, config.key); }
/// <summary> /// 设置应用配置 /// </summary> /// <param name="config">应用配置</param> internal void SetConfig(Config config) { setConfig(config); Sign <OrderQuery> .Set(this, config.key); }
/// <summary> /// 设置应用配置 /// </summary> /// <param name="config">应用配置</param> internal void SetConfig(Config config) { setConfig(config); Sign <QrCodeLongUrl> .Set(this, config.key); }