一.通过Result类实现返回数据 //用户注册 @PostMapping("/registerUser") public Result registerUser(@RequestBody User user){ Result result = Results.successWithData( us ...
分类:
编程语言 时间:
2021-06-30 18:33:50
阅读次数:
0
一、获取服务名 登陆 consul UI 平台, 找到我们对应的服务,他们服务在 consul 中的名称。 二、 脚本 注销基于的api: http://{}:{}/v1/agent/service/deregister/{} 注销脚本: #!/usr/bin/env python3 # -*- c ...
分类:
其他好文 时间:
2021-06-30 18:26:30
阅读次数:
0
一、组件作用 图形摄像投射器是用于检测UI输入事件的射线发射器。通过射线检测玩家和用户的交互,判断是否点击到了UI元素。 注意:不是通过碰撞器来检测的,而是通过图形来检测的。 二、参数解释 ******************************************************* ...
分类:
其他好文 时间:
2021-06-30 18:21:45
阅读次数:
0
指针函数 #include <stdio.h> #define uint8 unsigned char #define uint16 unsigned short #define uint32 unsigned int uint8 get_device_type_flash() { printf(" ...
分类:
编程语言 时间:
2021-06-30 18:21:24
阅读次数:
0
新做uni项目,记录一下常用的方法 官方参考文档:https://uniapp.dcloud.io/api/ui/prompt?id=showtoast 1:成功提示 提交表单的时候,如果提交成功 uni.showToast({ title: '提交成功', duration: 2000 }); 2 ...
分类:
移动开发 时间:
2021-06-30 18:20:12
阅读次数:
0
原文地址:(20条消息) 理解数学空间,从距离到希尔伯特空间_Kobe Bryant的专栏-CSDN博客_希尔伯特空间 在数学中有许多空间表示,比如欧几里德空间、赋范空间、希尔伯特空间等。这些空间之间有什么关系呢? 首先要从距离的定义说起。什么是距离呢?实际上距离除了我们经常用到的直线距离外,还有向 ...
分类:
其他好文 时间:
2021-06-30 18:13:38
阅读次数:
0
ES5 构造函数 function Person(){ this.name='建林'; this.age=18; this.say=function(){ console.log('person的say') } } let p1=new Person(); console.log(p1.name); ...
分类:
其他好文 时间:
2021-06-30 18:00:57
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>无序列表和有序列表</title> <style type="text/css"> /* 去掉项目符号 */ .ul1 { list-style: none; } </style> ...
分类:
其他好文 时间:
2021-06-30 17:53:22
阅读次数:
0
学习目的: 1.了解主流的Docker仓库。 2.掌握Harbor私有仓库的搭建与使用。 3.掌握Harbor私有仓库的主从同步。 harbor的组成: proxy:Nginx前端代理,主要是分发前端页面UI访问和镜像上传和下载流量。 registry:镜像仓库,负责存储镜像文件。 核心服务:提供W ...
分类:
其他好文 时间:
2021-06-30 17:51:04
阅读次数:
0