上一页 1 2 3 4 5 6 7 8 ··· 33 下一页
摘要: cnblogs.com/zhaoyuanshi/p/16123057.html 阅读全文
posted @ 2023-02-05 17:58 凯宾斯基 阅读(16) 评论(0) 推荐(0)
摘要: import org.json.*; String aa=vars.get("termidandtime"); JSONArray data = new JSONArray(aa); int len = data.length(); int index = (int) (Math.random() 阅读全文
posted @ 2023-02-02 15:42 凯宾斯基 阅读(48) 评论(0) 推荐(0)
摘要: 响应: [{"packet_id":1},{"packet_id":2},{"packet_id":3}] Match字段设置为 0 配置 $..packet_id 可以实现每个线程 随机取 阅读全文
posted @ 2023-02-01 20:46 凯宾斯基 阅读(99) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/530985154 阅读全文
posted @ 2023-01-30 23:07 凯宾斯基 阅读(51) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/836SCRUphJZ_8EDS8OFuag channels https://www.jianshu.com/p/6c86f102bb99 视频 Django+vue https://www.bilibili.com/video/BV1CV41 阅读全文
posted @ 2023-01-30 13:18 凯宾斯基 阅读(124) 评论(1) 推荐(0)
摘要: def create(self, request, *args, **kwargs): token = request.META.get("HTTP_AUTHORIZATION") envir = get_cur_envir(token) request.data["environment"] = 阅读全文
posted @ 2023-01-30 00:45 凯宾斯基 阅读(41) 评论(0) 推荐(0)
摘要: uniapp 官网 https://uniapp.dcloud.net.cn/component/view.html 视频: https://www.bilibili.com/video/BV1mT411K7nW?p=5&spm_id_from=pageDriver&vd_source=caabcb 阅读全文
posted @ 2023-01-28 14:40 凯宾斯基 阅读(31) 评论(0) 推荐(0)
摘要: function GetDateStr(AddDayCount) { var dd = new Date(); dd.setDate(dd.getDate()+AddDayCount);//获取AddDayCount天后的日期 var y = dd.getFullYear(); var m = dd 阅读全文
posted @ 2023-01-19 16:43 凯宾斯基 阅读(444) 评论(0) 推荐(0)
摘要: https://wx-zhu6201976.blog.csdn.net/article/details/84677213 https://developer.aliyun.com/article/1095338 阅读全文
posted @ 2023-01-18 10:59 凯宾斯基 阅读(20) 评论(0) 推荐(0)
摘要: 需要安装: npm install sass 阅读全文
posted @ 2023-01-17 00:38 凯宾斯基 阅读(14) 评论(0) 推荐(0)
摘要: <template> <router-view v-if="isRouterAlive"/> </template> <script> export default { data () { return { isRouterAlive: true } }, methods: { reload () 阅读全文
posted @ 2023-01-14 01:01 凯宾斯基 阅读(45) 评论(0) 推荐(0)
摘要: https://2x.antdv.com/components/descriptions-cn/#Descriptions-1-5-0- 阅读全文
posted @ 2023-01-13 14:06 凯宾斯基 阅读(256) 评论(0) 推荐(0)
摘要: https://2x.antdv.com/components/input-number-cn/#InputNumber- @focus 焦距的时候触发函数 <!- <a-input-number style="width: 63px" :min="1" :max="100000" placehol 阅读全文
posted @ 2023-01-10 23:18 凯宾斯基 阅读(277) 评论(0) 推荐(0)
摘要: https://www.ilovepdf.com/ 阅读全文
posted @ 2023-01-09 18:46 凯宾斯基 阅读(40) 评论(0) 推荐(0)
摘要: 解决字典里面有datatime格式需要进行序列化 https://blog.51cto.com/linyingyong/4989856 序列化 https://blog.csdn.net/weixin_51111267/article/details/124952698 列表里面的也可以序列化dat 阅读全文
posted @ 2023-01-06 11:39 凯宾斯基 阅读(53) 评论(0) 推荐(0)
摘要: url('^task/reqs/(?P<pk>\d+)/$', patroltaskviews.PatrolTaskViews.as_view({"get":"getTaskReqs"})), 获取数字 url(r'^iteration/(?P<email>\S+)/$',IterationView 阅读全文
posted @ 2023-01-05 21:47 凯宾斯基 阅读(119) 评论(0) 推荐(0)
摘要: import { Message } from "element-ui"; if (response.response.status '1000') { this.$message.success("编辑成功"); this.editDlg = false; // 重新获取后端的项目数据 this. 阅读全文
posted @ 2023-01-04 17:21 凯宾斯基 阅读(910) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/suifengpiaoluo/article/details/124672240 小程序注册 https://mp.weixin.qq.com/wxopen/waregister?action=step1&token=&lang=zh_CN https:/ 阅读全文
posted @ 2022-12-20 20:19 凯宾斯基 阅读(32) 评论(0) 推荐(0)
摘要: import java.util.Random; String random(int s_length) { strings= "ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz"; //int s_length = 10; rstring =" 阅读全文
posted @ 2022-12-17 16:22 凯宾斯基 阅读(129) 评论(0) 推荐(0)
摘要: Djago authod: https://www.cnblogs.com/kaibindirver/p/16687787.html https://www.bilibili.com/video/BV1XR4y157rk?p=16&vd_source=caabcbd2a759a67e2a3de8ac 阅读全文
posted @ 2022-12-13 14:51 凯宾斯基 阅读(35) 评论(0) 推荐(0)
摘要: 参考: https://www.cnblogs.com/wisewrong/p/16480625.html 中文操作文档 https://wproxy.org/whistle/webui/https.html https://zhuanlan.zhihu.com/p/432015421 这个比较靠谱 阅读全文
posted @ 2022-12-12 16:35 凯宾斯基 阅读(209) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_43030934/article/details/125657400 获取授权码的方法 163邮箱具体方法请参考:https://help.mail.163.com/faqDetail.do?code=d7a5dc8471cd0c0e8b4b8f4f 阅读全文
posted @ 2022-12-05 19:34 凯宾斯基 阅读(49) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/oUFF1_0ygwEyY8X-cg6g0Q 看到这个,大家应该也毕竟熟悉了,其实就是Docker的NoVnc的镜像,图形界面化docker环境,用浏览器直接打开就可以看到桌面,还可以直接操作,与一个普通界面操作系统基本无差,估计看到这里大家百度 阅读全文
posted @ 2022-12-05 11:37 凯宾斯基 阅读(79) 评论(0) 推荐(0)
摘要: 通过CONN_MAX_AGE优化Django的数据库连接 https://www.cnblogs.com/aaron-agu/p/10380559.html https://blog.csdn.net/cpxsxn/article/details/108492289 DATABASES = { 'd 阅读全文
posted @ 2022-12-01 17:35 凯宾斯基 阅读(675) 评论(0) 推荐(0)
摘要: 首先你要了解有外键的模式是怎么插入数据的 https://www.cnblogs.com/kaibindirver/p/16923586.html 写入相关 方法一 Serializers 重写create方法即可 class MemberSerializers(serializers.ModelS 阅读全文
posted @ 2022-11-26 15:46 凯宾斯基 阅读(177) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/DAO_HUNG/article/details/126544050 阅读全文
posted @ 2022-11-25 15:56 凯宾斯基 阅读(56) 评论(0) 推荐(0)
摘要: from utils.response import APIRespones from rest_framework.viewsets import ModelViewSet #统一请求成功返回模版 class MyModelViewSet(ModelViewSet): def create(sel 阅读全文
posted @ 2022-11-25 14:20 凯宾斯基 阅读(70) 评论(0) 推荐(0)
摘要: from rest_framework.response import Response # 公用的响应 class APIRespones(Response): """ Respones({ 'status':0, 'msg':'ok', 'results':[], 'token':'', }) 阅读全文
posted @ 2022-11-25 14:18 凯宾斯基 阅读(64) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_41470573/article/details/120505432 https://www.runoob.com/django/django-orm-2.html (看这个) 多对多 会生成多一张关系表 一对多就不会生成一张关系表 (外键写到多的那 阅读全文
posted @ 2022-11-24 21:55 凯宾斯基 阅读(148) 评论(0) 推荐(0)
摘要: 单独使用 https://www.jianshu.com/p/e36236c1df08 https://www.cnblogs.com/yangxinpython/p/15657010.html 例子: from apscheduler.schedulers.blocking import Bloc 阅读全文
posted @ 2022-11-24 11:43 凯宾斯基 阅读(503) 评论(0) 推荐(0)
摘要: https://blog.51cto.com/u_15484875/4894826 https://blog.csdn.net/wangnu_043/article/details/102698847 (主要看这个) py-eureka-client==0.10.5 注册服务 import py_e 阅读全文
posted @ 2022-11-21 11:51 凯宾斯基 阅读(860) 评论(0) 推荐(0)
摘要: request.query_params.getlist 方法 ?&department_id=68&department_id=69 def get(self,request): # 部门id id=request.query_params.getlist("department_id",0) 阅读全文
posted @ 2022-11-10 14:16 凯宾斯基 阅读(449) 评论(0) 推荐(1)
摘要: export default { name: 'app', //加入以下代码解决页面刷新时vueX数据丢失 created() { //在页面刷新时将vuex里的信息保存到 sessionStorage里 window.addEventListener('beforeunload', () => { 阅读全文
posted @ 2022-11-08 20:23 凯宾斯基 阅读(152) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/xu710263124/article/details/104567580/ 删除所有更改的记录 sudo python3 manage.py makemigrations --fake (这个执行后报错) python3 manage.py migrat 阅读全文
posted @ 2022-11-04 17:55 凯宾斯基 阅读(222) 评论(0) 推荐(0)
摘要: python3 manage.py runserver >> /Users/lucax/Desktop/test/log/log.log 2>&1 阅读全文
posted @ 2022-11-04 12:43 凯宾斯基 阅读(32) 评论(0) 推荐(0)
摘要: Django 2.1.10 'DIRS': [os.path.join(BASE_DIR, 'templates')], # 修改位置 使用 视图层 def email(self, request, *args, **kwargs): return render(request,"testing.h 阅读全文
posted @ 2022-11-03 20:00 凯宾斯基 阅读(47) 评论(0) 推荐(0)
摘要: https://www.bilibili.com/video/BV1z64y197Dk?p=19&vd_source=caabcbd2a759a67e2a3de8acbaaf08ea 依赖库安装 django-filter==22.1 setting.py INSTALLED_APPS = [ 'd 阅读全文
posted @ 2022-11-01 19:48 凯宾斯基 阅读(90) 评论(0) 推荐(0)
摘要: https://www.bilibili.com/video/BV1z64y197Dk?p=20&vd_source=caabcbd2a759a67e2a3de8acbaaf08ea views.py from rest_framework.filters import OrderingFilter 阅读全文
posted @ 2022-11-01 19:21 凯宾斯基 阅读(40) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/286671626 https://www.bilibili.com/video/BV1z64y197Dk?p=21&vd_source=caabcbd2a759a67e2a3de8acbaaf08ea 全局配置分页器 setting.py 阅读全文
posted @ 2022-10-31 23:36 凯宾斯基 阅读(84) 评论(0) 推荐(0)
摘要: https://www.bilibili.com/video/BV1z64y197Dk?p=18&vd_source=caabcbd2a759a67e2a3de8acbaaf08ea 阅读全文
posted @ 2022-10-31 19:28 凯宾斯基 阅读(28) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 33 下一页