Refit使用入门(webapi访问方法)

前言原文:Refit: The automatic type-safe REST library for .NET Core, Xamarin and .NET百度翻译:Refit:适用于.NET Core、Xamarin和.NET的自动类型安全REST库官方网站:https://github...

Python生成随机数

#!/usr/bin/env python from cyaron import * import random for i in range(1, 11): test_data = IO(file_prefix="", data_id=i) # 生成 hea...

python比较两个Excel文件异同

import pandas as pd import numpy as np # 读取 Excel 文件 df1 = pd.read_excel('oa_student.xlsx') df2 = pd.read_excel('(967人)(2024.10.08)锦绣校区2024学年第一学期学生...

python 根据Excel指定字段内容不同时插入空白行

import pandas as pd def insert_blank_rows(df, field_name): new_rows = [] for index, row in df.iterrows(): new_rows.append(row) ...

osharp集成Yitter.IdGenerator并实现分布式ID

osharp集成Yitter.IdGenerator并实现分布式ID前言osharp是什么?请看https://github.com/dotnetcore/osharp安装Yitter.IdGeneratornuget安装Yitter.IdGenerator包实现IKeyGeneratorus...

osharp的Auth_Function与Auth_Module什么关系

osharp多租户方案

osharp多租户方案租户信息using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OShar...

osharp keyword

// 提取并移除Keyword规则,因为CodeCreater实体中没有Keyword属性 var keyword = ""; if (request.FilterGroup != null && request.FilterGr...

OpenClaw

启动 OpenClaw 的命令是: openclaw gateway start openclaw gateway run 其他常用命令: iwr -useb https://openclaw.ai/install.ps1 | iex ——安装openclaw openclaw updat...

Ocelot集成Consul实现api网关与服务发现

前言没看dotnet微服务之API网关Ocelot的请先看,这篇文章接上面文章安装consul#自定义网络,自定义网络可以指定容器IP,这样服务器重启consul集群也可以正常运行。 docker network create --driver bridge --subnet=172.21.0...