首先新建一个Xss处理的帮助类 public static class XSSHelper { /// <summary> /// XSS过滤 /// </summary> /// <param name="html">html代码</param> /// <returns>过滤结果</return ...
                            
                            
                                分类:
Web程序   时间:
2020-07-15 01:28:29   
                                阅读次数:
98
                             
                    
                        
                            
                            
                                    datebox限制时间选择 对datebox可选择日期进行限制,目前感觉使用起来效果很好,不可选择的日期置灰不可点击 1. 限制开始时间小于结束时间 //using limitStartDateAndEndDate($("#DateStart"), $("#DateEnd")); /** * 限制开 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-14 18:36:28   
                                阅读次数:
123
                             
                    
                        
                            
                            
                                    os.date ([format [, time]]) Returns a string or a table containing date and time, formatted according to the given string format. If the time argument ...
                            
                            
                                分类:
其他好文   时间:
2020-07-14 12:59:15   
                                阅读次数:
223
                             
                    
                        
                            
                            
                                    /** * @param {*} money[输入的money] * @param {string} [货币符号,sysmbol='¥'] * @param {number} [小数点位数,places=2] * @returns undefined */ function dealMoney(mo ...
                            
                            
                                分类:
编程语言   时间:
2020-07-13 18:45:19   
                                阅读次数:
76
                             
                    
                        
                            
                            
                                    下面是.net后端判断请求是否为AJAX请求的方法: /// <summary> /// 判断是否为AJAX请求 /// </summary> /// <param name="req"></param> /// <returns></returns> public static bool IsAj ...
                            
                            
                                分类:
Web程序   时间:
2020-07-13 13:34:28   
                                阅读次数:
73
                             
                    
                        
                            
                            
                                    管道:介绍和基本服务 Pipes: introduction and basic services 与邮箱或队列相比,它们提供了在任务之间传递简单消息的更灵活的方式。 使用管道 在Nucleus SE中,管道是在构建时配置的。一个应用程序最多可以配置16个管道。如果未配置管道,则应用程序中不会包含与 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-11 09:14:34   
                                阅读次数:
46
                             
                    
                        
                            
                            
                                    Nucleus 实时操作系统中断(下) Nucleus RTOS兼容性 由于中断在Nucleus SE中的实现方式与Nucleus rto截然不同,因此不应期望有特定的兼容性。Nucleus RTOS有一个本机/低级/高级中断方案,这在某种程度上类似于Nucleus SE中的本机中断和管理中断。 低 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-10 18:42:07   
                                阅读次数:
70
                             
                    
                        
                            
                            
                                --登录 登录 /// </summary> /// <param name="uid"></param> /// <param name="pwd"></param> /// <returns></returns> public List<Admin> DengLu(string uid,stri ...
                            
                            
                                分类:
其他好文   时间:
2020-07-08 15:21:42   
                                阅读次数:
183
                             
                    
                        
                            
                            
                                    repartition repartition 有三个重载的函数: 1) def repartition(numPartitions: Int): DataFrame /** * Returns a new [[DataFrame]] that has exactly `numPartitions` ...
                            
                            
                                分类:
数据库   时间:
2020-07-08 13:17:49   
                                阅读次数:
93
                             
                    
                        
                            
                            
                                    #函数 /* 存储过程:可以有0个或多个返回,适合批量插入、批量更新 函数:有且仅有一个返回,适合处理数据后返回一个结果 */ #一、创建语法 /* create function 函数名(参数列表) returns 返回类型 begin 函数体 end 参数列表: 参数名 参数类型 */ use  ...
                            
                            
                                分类:
数据库   时间:
2020-07-07 17:29:37   
                                阅读次数:
66