工厂模式 创建对象的最佳方式,相当于把创建对象的过程进行了封装,这样可以将实例化对象的逻辑不对外共享,对外提供一个工厂类方便调用 工厂模式分为三种 普通工厂模式 //step1:创建接口 interface Fruit { public void product(); } //step2:创建类实现 ...
分类:
其他好文 时间:
2020-12-15 12:21:07
阅读次数:
2
背景项目组游戏希望接入华为的应用外支付功能,在华为应用市场的本游戏详情页点击商品支付,通过DeepLink链接从华为应用市场跳转至本游戏支付详情页,传递支付商品ID进行购买。参考文档:https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/appgallerykit-devguide-ga
分类:
其他好文 时间:
2020-12-14 13:20:11
阅读次数:
5
详细 the current operating system does not support this product click ok and then install the product on a computer running windows xp professional or w ...
分类:
其他好文 时间:
2020-12-11 12:10:02
阅读次数:
3
全局安装 -- 指令 cnpm i --save ant-design-vue@next -S main.js -- 引入 import { createApp } from "vue"; import App from "./App.vue"; import router from "./rout ...
分类:
其他好文 时间:
2020-12-10 10:55:34
阅读次数:
2
批量操作Tomcat Shell脚本 #!/bin/bash tom="/opt/ronghelist" product=$1 usage="{gongcheng1|all} {start|stop|restart|status}" if [ "$1" == "" -o "$2" == "" ];t ...
分类:
系统相关 时间:
2020-12-08 12:39:01
阅读次数:
9
Ant Design Pro 以 umi 作为脚手架,启动和开发与 umi 基本相同。 下载一个模板框架 修改配置文件 存储当前登录用户的角色类型并且存储起来。后期和路由权限操作权限结合起来用 路由权限思路是事先定义好路由文件已经组件绑定好角色组,然后导航路由的时候和存在注册的的所有路由进行匹配。每 ...
分类:
Web程序 时间:
2020-12-07 12:41:33
阅读次数:
16
解决Spring配置文件不显示design和source,namespace问题之前撸代码一直没太关注这个问题,后来发现对于不太熟悉配置文件内容的小伙伴们来说是比较痛苦的,因为每个配置项都需要你记住或者拷贝别人现成配置那么问题来了,今天在写发现我的Spring配置文件不显示design和source,namespace?解决方案:在已经装了spring插件的情况下右键点击你要显示的xml文件会出来
分类:
编程语言 时间:
2020-12-05 10:38:45
阅读次数:
5
使用ABP框架进行First Code时,出现错误如下: Your startup project 'HF.Template.Migrator' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is requi ...
分类:
其他好文 时间:
2020-12-02 12:00:53
阅读次数:
5
3 Role: Product Owner, Scrum Master, Development Team3 Objekte: Produkt Backlog, Sprint Backlog, Increment5 Events: Sprint, Sprint Planing, Daily Scru ...
分类:
其他好文 时间:
2020-12-01 11:49:45
阅读次数:
1
Vue+Ant design vue安装及配置使用 Ant design vue官网:https://www.antdv.com/docs/vue/introduce-cn/ 基于 Ant Design of Vue 实现的Vue项目 :https://gitee.com/sendya/ant-de ...
分类:
其他好文 时间:
2020-11-30 16:08:39
阅读次数:
7