tenpay/RequestHandler.cs

(开头部分) 4KB

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

using System;
using System.Collections;
using System.Text;
using System.Web;

namespace tenpay
{
    /// <summary>
    /// RequestHandler 的摘要说明。
    /// </summary>
    public class RequestHandler
    {
        public RequestHandler(HttpContext httpContext)
        {
            parameters = new Hashtable();

            this.httpContext = httpContext;

            this.setGateUrl("https://www.tenpay.com/cgi-bin/v1.0/service_gate.cgi");
        }

        /** 网关url地址 */
        private string gateUrl;

        /** 密钥 */
        private string key;

        /** 请求的参数 */
        protected Hashtable parameters;

        /** debug信息 */
        private string debugInfo;

        protected HttpContext httpContext;

        /** 初始化函数。*/
        public virtual void init()
        {
            //nothing to do
        }

        /** 获取入口地址,不包含参数值 */
        public String getGateUrl()
        {
            return gateUrl;
        }

        /** 设置入口地址,不包含参数值 */
        public void setGateUrl(String gateUrl)
        {
            this.gateUrl = gateUrl;
        }

        /** 获取密钥 */
        public String getKey()
        {
            return key;
        }

        /** 设置密钥 */
后面还有 109 行代码,购买后查看完整代码

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

AI 解读 AI

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

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