服务注册中心eureka-server已经搭好,我们开始编写一个eureka-client,并提供一个hello服务 一、新建module,选择对应的springcloud模块,pom.xml如下: <?xml version="1.0" encoding="UTF-8"?> <project xm ...
分类:
编程语言 时间:
2020-10-12 20:29:31
阅读次数:
29
1.框架搭建,创建一个maven项目打war包 web.xml文件 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http:// ...
分类:
数据库 时间:
2020-10-12 20:27:31
阅读次数:
32
open函数理解 open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) mode模式 合法mode:r、rb、r+、rb+、w、wb、w+、wb+ ...
分类:
其他好文 时间:
2020-10-10 17:51:26
阅读次数:
21
1. res 目录 新建一个 menu 资源文件 <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:title= ...
分类:
移动开发 时间:
2020-10-09 20:47:20
阅读次数:
36
client.py import socket import os import struct import json if os.name == 'nt': code = 'gbk' elif os.name == 'posix': code = 'utf-8' client = socket.s ...
分类:
微信 时间:
2020-10-08 19:49:49
阅读次数:
44
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
其他好文 时间:
2020-10-08 19:36:23
阅读次数:
24
购物商城 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_paren ...
分类:
移动开发 时间:
2020-10-08 19:28:46
阅读次数:
36
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" ...
分类:
其他好文 时间:
2020-10-07 21:37:42
阅读次数:
92
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
其他好文 时间:
2020-10-07 20:25:43
阅读次数:
60
import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Arrays; public class Demo02OutPutStream { p ...
分类:
其他好文 时间:
2020-10-06 21:07:30
阅读次数:
42