4

所属分类:WEB开发
开发工具:ASP
文件大小:6519KB
下载次数:1
上传日期:2018-04-12 20:07:58
上 传 者4y53hetd
说明:  3BK数字报纸系统浏览快速,符合W3c标准或Html5标准,页面代码更小,js体积更小;后台图片可以自动优化,以利于互联网传输;同时PDF和图片可以用数据库进行动态管理,去掉无用的垃级图片和PDF资源;
(3BK digital newspaper system is fast browsing, in line with W3c standard or Html5 standard, the page code is smaller and the volume of JS is smaller; the background pictures can be automatically optimized to facilitate the transmission of the Internet; at the same time, the PDF and the pictures can be dynamically managed with the database to remove the useless garbage images and PDF resources.)

文件列表:
paperweb\admin\ADadd.aspx (4907, 2015-10-21)
paperweb\admin\ADedit.aspx (4574, 2015-10-21)
paperweb\admin\ADmanage.aspx (2465, 2017-06-01)
paperweb\admin\Admin.Master (2607, 2017-07-10)
paperweb\admin\Adminjbmanage.aspx (6842, 2017-06-01)
paperweb\admin\Adminmanage.aspx (6512, 2017-06-01)
paperweb\admin\Adminmenuadd.aspx (2948, 2014-05-22)
paperweb\admin\Adminmenumanage.aspx (906, 2012-12-23)
paperweb\admin\Adminpass.aspx (3472, 2015-10-21)
paperweb\admin\Adtypeadd.aspx (3364, 2014-10-10)
paperweb\admin\Adtypemanage.aspx (1055, 2013-09-15)
paperweb\admin\calendar\calendar.htm (4440, 2017-08-19)
paperweb\admin\calendar\calendar.js (2744, 2012-03-04)
paperweb\admin\calendar\images\next.gif (85, 2006-10-01)
paperweb\admin\calendar\images\prev.gif (85, 2006-10-01)
paperweb\admin\calendar\timebtn.gif (257, 2006-10-01)
paperweb\admin\Cityadd.aspx (1936, 2014-05-22)
paperweb\admin\Citymanage.aspx (1482, 2013-08-24)
paperweb\admin\Classadd.aspx (3150, 2014-05-22)
paperweb\admin\Classmanage.aspx (894, 2012-12-23)
paperweb\admin\Comja\classforpage.js (5112, 2015-10-21)
paperweb\admin\Comja\inputlen.js (1040, 2015-10-21)
paperweb\admin\Comja\up.js (1307, 2016-08-04)
paperweb\admin\Comja\upfile.js (3186, 2016-08-04)
paperweb\admin\Commentmanage.aspx (4863, 2017-06-01)
paperweb\admin\Commentp.aspx (1121, 2015-10-21)
paperweb\admin\Companyinfo.aspx (2057, 2015-10-21)
paperweb\admin\controls\Adminleft.ascx (258, 2015-10-21)
paperweb\admin\controls\Areaclass.ascx (860, 2017-06-01)
paperweb\admin\controls\Cityidclass.ascx (1013, 2017-06-01)
paperweb\admin\controls\Class.ascx (836, 2017-06-01)
paperweb\admin\controls\Class_elecbak.ascx (852, 2017-06-01)
paperweb\admin\controls\Corpclass.ascx (850, 2017-06-01)
paperweb\admin\controls\CorpUpcon.ascx (4504, 2017-08-07)
paperweb\admin\controls\Date_Month.ascx (3109, 2012-09-07)
paperweb\admin\controls\Date_Qi.ascx (6377, 2012-11-23)
paperweb\admin\controls\Dayselect.ascx (1797, 2015-10-21)
paperweb\admin\controls\Monthselect.ascx (813, 2015-10-21)
paperweb\admin\controls\news\Eachqipageselect.ascx (2498, 2015-10-22)
paperweb\admin\controls\news\Eachqiselect.ascx (216, 2015-10-22)
... ...

q───────────────────────r q────┤ 支付宝代码示例结构说明 ├────r │ t───────────────────────s │  │ │  │ 接口名称:支付宝即时到帐接口(create_direct_pay_by_user) │  │  代码版本:3.2 │ │ 开发语言:ASP.NET(c#) │ │ 版 权:支付宝(中国)网络技术有限公司 │  │ 制 作 者:支付宝商户事业部技术支持组 │ │ 联系方式:商户服务电话0571-88158090 │ │ │ t─────────────────────────────────s ─────── 代码文件结构 ─────── create_direct_pay_by_user_vs2005_utf8 │ ├app_code ┈┈┈┈┈┈┈┈┈┈类文件夹 │ │ │ ├AlipayConfig.cs┈┈┈┈┈基础配置类文件 │ │ │ ├AlipayCore.cs┈┈┈┈┈┈支付宝接口公用函数类文件 │ │ │ ├AlipayNotify.cs┈┈┈┈┈支付宝通知处理类文件 │ │ │ ├AlipayService.cs ┈┈┈┈支付宝各接口构造类文件 │ │ │ └AlipaySubmit.cs┈┈┈┈┈支付宝各接口请求提交类文件 │ ├log┈┈┈┈┈┈┈┈┈┈┈┈┈日志文件夹 │ ├default.aspx ┈┈┈┈┈┈┈┈支付宝接口入口文件 ├default.aspx.cs┈┈┈┈┈┈┈支付宝接口入口文件 │ ├notify_url.aspx┈┈┈┈┈┈┈服务器异步通知页面文件 ├notify_url.aspx.cs ┈┈┈┈┈服务器异步通知页面文件 │ ├return_url.aspx┈┈┈┈┈┈┈页面跳转同步通知文件 ├return_url.aspx.cs ┈┈┈┈┈页面跳转同步通知文件 │ ├Web.Config ┈┈┈┈┈┈┈┈┈配置文件(集成时删除) │ └readme.txt ┈┈┈┈┈┈┈┈┈使用说明文本 ※注意※ 需要配置的文件是: alipay_config.cs、 default.aspx、 default.aspx.cs、 return_url.aspx、 return_url.aspx.cs、 notify_url.aspx、 notify_url.aspx.cs 统一命名空间为:namespace Com.Alipiay ───────── 类文件函数结构 ───────── AlipayCore.cs public static string BuildMysign(Dictionary dicArray, string key, string sign_type, string _input_charset) 功能:生成签名结果 输入:Dictionary dicArray 要签名的数组 string key 安全校验码 string sign_type 签名类型 string _input_charset 编码格式 输出:string 签名结果字符串 public static string CreateLinkstring(Dictionary dicArray) 功能:把数组所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串 输入:Dictionary dicArray 需要拼接的数组 输出:string 拼接完成以后的字符串 public static Dictionary ParaFilter(SortedDictionary dicArrayPre) 功能:除去数组中的空值和签名参数并以字母a到z的顺序排序 输入:SortedDictionary dicArrayPre 过滤前的参数组 输出:Dictionary 去掉空值与签名参数后的新签名参数组 public static string Sign(string prestr, string sign_type, string _input_charset) 功能:签名字符串 输入:string prestr 需要签名的字符串 string sign_type 签名类型 string _input_charset 编码格式 输出:string 签名结果 public static void LogResult(string sPath, string sWord) 功能:写日志,方便测试(看网站需求,也可以改成存入数据库) 输入:string sPath 日志的本地绝对路径 string sWord 要写入日志里的文本内容 ┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉ AlipayNotify.cs public Notify() 功能:构造函数 从配置文件中初始化变量 public bool Verify(SortedDictionary inputPara, string notify_id, string sign) 功能:验证消息是否是支付宝发出的合法消息 输入:SortedDictionary inputPara 通知返回参数数组 string notify_id 通知验证ID string sign 支付宝生成的签名结果 输出:string 验证结果 private string GetPreSignStr(SortedDictionary inputPara) 功能:获取待签名字符串(调试用) 输入:SortedDictionary inputPara 通知返回参数数组 输出:string 待签名字符串 private string GetResponseMysign(SortedDictionary inputPara) 功能:获取返回回来的待签名数组签名后结果 输入:SortedDictionary inputPara 通知返回参数数组 输出:string 签名结果字符串 private string GetResponseTxt(string notify_id) 功能:获取是否是支付宝服务器发来的请求的验证结果 输入:string notify_id 通知验证ID 输出:string 验证结果 private string Get_Http(string strUrl, int timeout) 功能:获取远程服务器ATN结果 输入:string strUrl 指定URL路径地址 int timeout 超时时间设置 输出:string 服务器ATN结果字符串 ┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉ AlipaySubmit.cs private static Dictionary BuildRequestPara(SortedDictionary sParaTemp) 功能:生成要请求给支付宝的参数数组 输入:SortedDictionary sParaTemp 请求前的参数数组 输出:Dictionary 要请求的参数数组 private static string BuildRequestParaToString(SortedDictionary sParaTemp) 功能:生成要请求给支付宝的参数数组 输入:SortedDictionary sParaTemp 请求前的参数数组 输出:string 要请求的参数数组字符串 public static string BuildFormHtml( SortedDictionary sParaTemp, string gateway, string strMethod, string strButtonValue) 功能:构造提交表单HTML数据 输入:SortedDictionary sParaTemp 请求参数数组 string gateway 网关地址 string strMethod 提交方式。两个值可选:post、get string strButtonValue 确认按钮显示文字 输出:string 提交表单HTML文本 public static XmlDocument SendPostInfo(SortedDictionary sParaTemp, string gateway) 功能:构造模拟远程HTTP的POST请求,获取支付宝的返回XML处理结果 输入:SortedDictionary sParaTemp 请求参数数组 string gateway 网关地址 输出:XmlDocument 支付宝返回XML处理结果 public static XmlDocument SendGetInfo(SortedDictionary sParaTemp, string gateway) 功能:构造模拟远程HTTP的GET请求,获取支付宝的返回XML处理结果 输入:SortedDictionary sParaTemp 请求参数数组 string gateway 网关地址 输出:XmlDocument 支付宝返回XML处理结果 ┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉ AlipayService.cs public string Create_direct_pay_by_user(SortedDictionary sParaTemp) 功能:构造即时到帐接口 输入:SortedDictionary sParaTemp 请求参数集合 输出:string 表单提交HTML信息 public static string Query_timestamp() 功能:用于防钓鱼,调用接口query_timestamp来获取时间戳的处理函数 输出:string 时间戳字符串 public string AlipayInterface(SortedDictionary sParaTemp) 功能:构造(支付宝接口名称)接口 输入:SortedDictionary sParaTemp 请求参数集合 输出:string 表单提交HTML文本或者支付宝返回XML处理结果 ┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉ return_url.aspx.cs public SortedDictionary GetRequestGet() 功能:获取支付宝GET过来通知消息,并以“参数名=参数值”的形式组成数组 输出:SortedDictionary request回来的信息组成的数组 ┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉┉ notify_url.aspx.cs public SortedDictionary GetRequestPost() 功能:获取支付宝POST过来通知消息,并以“参数名=参数值”的形式组成数组 输出:SortedDictionary request回来的信息组成的数组 ────────── 出现问题,求助方法 ────────── 如果在集成支付宝接口时,有疑问或出现问题,可使用下面的链接,提交申请。 https://b.alipay.com/support/helperApply.htm?action=supportHome 我们会有专门的技术支持人员为您处理

近期下载者

相关文件


收藏者