上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页
  2021年12月19日
摘要: 1.依赖 2.新增model 3.新增接口 4.测试 一 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId></depend 阅读全文
posted @ 2021-12-19 09:04 biind 阅读(89) 评论(0) 推荐(0)
摘要: 1.快速创建springboot项目 2.下载启动redis的windows版本 3.整合mybatis+redis+junit 一 快速创建springboot项目 访问地址:https://start.spring.io 或者idea,new 项目,选择 spring initializr 快速 阅读全文
posted @ 2021-12-19 08:13 biind 阅读(84) 评论(0) 推荐(0)
  2021年12月6日
摘要: 1.异步 2.同步 3.任务组 一 异步 /** * 异步 */ private void click1() { HiLog.info(hiLogLabel, "click1:start"); TaskDispatcher dispatcher = getGlobalTaskDispatcher(T 阅读全文
posted @ 2021-12-06 21:26 biind 阅读(102) 评论(0) 推荐(0)
  2021年12月5日
摘要: 1.配置 2.使用 一 配置 参考配置: HarmonyOS 基础数据库 - biind - 博客园 (cnblogs.com) 跟基础数据库配置一样 二 使用 1.新建entiry类,继承OrmObject 2.新建store类,继承OrmDatabase 3.新增、更新、删除、查询单条,查询集合 阅读全文
posted @ 2021-12-05 08:48 biind 阅读(152) 评论(0) 推荐(0)
  2021年12月4日
摘要: 1.配置 2.使用 一 配置 javapoet_java.jar orm_annotations_java.jar orm_annotations_processor_java.jar 这三个包拷贝到项目libs目录后配置2个地方。 compileOptions { annotationEnable 阅读全文
posted @ 2021-12-04 09:18 biind 阅读(608) 评论(0) 推荐(0)
  2021年11月27日
摘要: 1.两个工具类:DateUtils + HttpHelper 2.两个依赖包:okhttp3 + gson 3.装载图片类:Picasso,本地+调试模式,都不能访问本地的网络,运行需要注释装载图片,因为是华为虚拟机 解决方式:内网穿透技术 ,比如:Ngrok ,教程:2021最新HarmonyOS 阅读全文
posted @ 2021-11-27 07:57 biind 阅读(95) 评论(0) 推荐(0)
  2021年11月24日
摘要: 1.鸿蒙权限 2.引入包 3.具体案例 一 网络权限 config.json修改节点:deviceConfig + reqPermissions "deviceConfig": { "default": { "network": { "//": "鸿蒙的默认是 Https 访问模式,如果您的请求网址 阅读全文
posted @ 2021-11-24 21:52 biind 阅读(194) 评论(0) 推荐(0)
  2021年11月21日
摘要: package com.example.myapplication3.Data; public class City { private int Id; private String Name; public City() { } public City(int id, String name) { 阅读全文
posted @ 2021-11-21 09:49 biind 阅读(117) 评论(0) 推荐(0)
摘要: 前提:注册了华为开发者账号,官网教程:华为开发者学堂-HarmonyOS Codelabs实训营第4期 - 分布式模拟器及真机调试介绍 (huawei.com) 1.USB连接手机,并打开开发者模式 2.Project--Project Structure--Signing Configs a.登录 阅读全文
posted @ 2021-11-21 09:08 biind 阅读(256) 评论(0) 推荐(0)
  2021年11月16日
摘要: 1.安装npm 2.安装json-server 3.使用 1.安装npm 下载node.js,地址:https://nodejs.org/zh-cn/ 这里的基础知识,比如:配置淘宝仓库,配置npm的目录等,不描述,这是基础知识。 2.安装json-server 安装命令:npm install j 阅读全文
posted @ 2021-11-16 19:08 biind 阅读(740) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页