//发送工作通知消息 public function asyncsend(){ $config=config('ding'); $app = new Application($config); $params=[ 'agent_id'=>'849101807', 'userid_list'=>'31 ...
分类:
其他好文 时间:
2020-08-11 09:16:10
阅读次数:
209
登录功能的完善 servlet import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.FileItemFactory; import org.apache.commons.fileupl ...
分类:
其他好文 时间:
2020-08-10 23:16:16
阅读次数:
73
1、背景 两个月前,刚入职新公司,需要 新启 一个工程 SDK, 做 三方接口 的转发,供多个部门使用。 三方的 接口 只能 接收 application/x-www-form-urlencoded ,不支持 json 参数 然而,接受的参数 有 下划线格式 (wan_id),很多接口的参数都 > ...
分类:
其他好文 时间:
2020-08-10 17:40:08
阅读次数:
77
在安卓项目使用了Kotlin之后,发现Kotlin一个相当强大的地方,可以不用findViewById,引入布局,直接使用控件,使用kotlin插件自动生成 1、在 application.gradle 中引入kotlin扩展插件 classpath "org.jetbrains.kotlin:ko ...
分类:
其他好文 时间:
2020-08-10 10:54:17
阅读次数:
85
一,引言 今天,我们学习一个新的知识点 Azure Application Gateway,通过Azure 应用程序网关为我么后端的服务提供负载均衡的功能。我们再文章头中大概先了解一下什么是应用程序网关。 Azure Application Gateway 是一种应用程序层(OSI 层 7)负载均衡 ...
分类:
移动开发 时间:
2020-08-09 14:22:12
阅读次数:
93
一、fetch请求参数fetch(‘/books‘,{method:‘post‘,body:‘uname=list&pwd=123‘,headrs:{‘Content-Type‘:"application/x-wwww-form-urlencode"}}).then(res=>{returnres.n
分类:
移动开发 时间:
2020-08-09 13:09:55
阅读次数:
118
7.HttpServletRequest HttpServletRequest代表客户端的请求,用户通过HTTP协议访问服务器,HTTP请求中的所有信息会被封装到HttpServletResquest,通过HttpServletResquest的方法可以获得客户端的所有信息 <%@ page con ...
分类:
Web程序 时间:
2020-08-07 23:01:40
阅读次数:
92
今天的学习内容是J2EE里面的Servlet和JSP。 一、前后台分离1、概念后端只写服务、返回值是JSON格式前端全部采用AJAX异步请求、放弃同步请求 2、设置AJAX跨域、否则只能同步请求 3、AJAX 跨域携带Cookie 4、API文档生成 前后端分离核心技术:AJKS 二、serclet ...
分类:
其他好文 时间:
2020-08-07 22:59:42
阅读次数:
86
应用程序接口API(Application Programming Interface),是提供特定业务输出能力、连接不同系统的一种约定。这里包括外部系统与提供服务的系统(中控系统)或者后台不同的系统之间的交互点。包括外部接口、内部接口、内部接口有包括:上层服务与下层服务接口、同级接口。 常见的we ...
1、在resource下创建一个application.yaml文件 person: name: zhangsan age: 20 birth: 1998/02/01 list: - l1 - l2 - l3 map: {k1: v1,k2: v2} 2、创建一个Person类。 @Configur ...
分类:
移动开发 时间:
2020-08-06 13:10:05
阅读次数:
115