private static string CreateParams(string appId, string orderServerRequset) { JoyYouSDKAttribute.ParamsCollector paramsCollector = new JoyYouSDKAttribute.ParamsCollector(); paramsCollector.AddItemPair("appId", appId); paramsCollector.AddItemPair("orderServerRequset", orderServerRequset); return(paramsCollector.GetJsonData()); }
private static string CreateParams(string appId, string payKey) { JoyYouSDKAttribute.ParamsCollector paramsCollector = new JoyYouSDKAttribute.ParamsCollector(); paramsCollector.AddItemPair("appId", appId); paramsCollector.AddItemPair("payKey", payKey); return(paramsCollector.GetJsonData()); }
private static string paramsData(string appKey, string appSecret, string channelId) { JoyYouSDKAttribute.ParamsCollector paramsCollector = new JoyYouSDKAttribute.ParamsCollector(); paramsCollector.AddItemPair("appKey", appKey); paramsCollector.AddItemPair("appSecret", appSecret); paramsCollector.AddItemPair("channelId", channelId); return(paramsCollector.GetJsonData()); }
private static string CreateParams(string qqAppId, string qqAppKey, string wxAppId, string wxAppKey, string msdkKey) { JoyYouSDKAttribute.ParamsCollector paramsCollector = new JoyYouSDKAttribute.ParamsCollector(); paramsCollector.AddItemPair("qqAppId", qqAppId); paramsCollector.AddItemPair("qqAppKey", qqAppKey); paramsCollector.AddItemPair("wxAppId", wxAppId); paramsCollector.AddItemPair("wxAppKey", wxAppKey); paramsCollector.AddItemPair("msdkKey", msdkKey); return(paramsCollector.GetJsonData()); }
private static string paramsData(string appId, string cpId, string payId, string fubiaoPrivateKey, string payPublicKey, string payPrivateKey, string companyName) { JoyYouSDKAttribute.ParamsCollector paramsCollector = new JoyYouSDKAttribute.ParamsCollector(); paramsCollector.AddItemPair("appId", appId); paramsCollector.AddItemPair("cpId", cpId); paramsCollector.AddItemPair("payId", payId); paramsCollector.AddItemPair("fubiaoPrivateKey", fubiaoPrivateKey); paramsCollector.AddItemPair("payPublicKey", payPublicKey); paramsCollector.AddItemPair("payPrivateKey", payPrivateKey); paramsCollector.AddItemPair("companyName", companyName); return(paramsCollector.GetJsonData()); }
public override void DoInit() { base.DoInit(); JoyYouSDKAttribute.ParamsCollector paramsCollector = new JoyYouSDKAttribute.ParamsCollector(); paramsCollector.AddItemPair("appKey", this.theAppKey); paramsCollector.AddItemPair("appSecret", this.theAppSecret); paramsCollector.AddItemPair("razorKey", this.theRazorKey); paramsCollector.AddItemPair("qqAppKey", this.theQQAppKey); paramsCollector.AddItemPair("weixinAppId", this.theWeixinAppId); paramsCollector.AddItemPair("weixinAppKey", this.theWeixinAppKey); paramsCollector.AddItemPair("weiboAppKey", this.theWeiboAppKey); paramsCollector.AddItemPair("=ITF=", base.GetType().Name); paramsCollector.AddItemPair("debug", (!this.debugEnable) ? 0 : 1); paramsCollector.AddItemPair("log", (!this.logEnable) ? 0 : 1); JoyYouNativeInterface.InitGameRecordItf(this.theAppKey, paramsCollector.GetJsonData()); }