CmsAPI/Payment/wxpay/WxPayHelper.cs

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Runtime.CompilerServices;
using System.Linq;
using Cms.API.Payment.wxpay.comm;

namespace Cms.API.Payment.wxpay
{
    public class WxPayHelper
    {
        public WxPayHelper()
        {
            this.parameters = new Dictionary<string, string>();
            this.AppId = "";
            this.AppKey = "";
            this.SignType = "sha1";
            this.PartnerKey = "";

        }

        public sealed class Anonymous_C0 :
                IComparer<KeyValuePair<string, string>>
        {
            public int Compare(KeyValuePair<string, string> o1,
                    KeyValuePair<string, string> o2)
            {
                return String.CompareOrdinal((o1.Key).ToString(), o2.Key);
            }
        }

        private Dictionary<string, string> parameters;
        private string AppId;
        private string AppKey;
        private string SignType;
        private string PartnerKey;

        public void SetAppId(string str)
        {
            AppId = str;
        }
        /// <summary>
        /// PaySignKey
        /// </summary>
        /// <param name="str"></param>
        public void SetAppKey(string str)
        {
            AppKey = str;
        }

        public void SetSignType(string str)
        {
            SignType = str;
        }
        /// <summary>
        ///财付通: 初始密钥(PartnerKey)
        /// </summary>
        /// <param name="str"></param>
后面还有 213 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。