yanpengquan


绵阳市碳素云信息技术有限责任公司

  • published 1.1.5 5 years ago
  • published 1.0.4 5 years ago
  • published 1.0.1 6 years ago
  • published 1.0.0 6 years ago
  • ## feature 1. config class and default config driver 2. allow extends to reconfig

    published 1.0.11 5 years ago
  • ## feature 1. default use cookie 2. custom use token or other key to identify user

    published 1.0.4 5 years ago
  • 1. 支持环境变量配置配置文件路径

    published 1.0.5 5 years ago
  • > 封装的Sequelize作为数据库操作底层,对Sequelize的部分操作进行了简化,语法结构类似于ThinkPHP3.2结构。 需要依赖于 castle-config/castle-controller/sequelize,其它依赖请参见相关库的依然范围 # 典型基础用法 ```typescript //获取模型对象 let model = await this.M('Sex'); //启动事务 await this.startTrans(); //添加数据 await model.add({ UI

    published 1.0.15 5 years ago
  • published 1.0.5 4 years ago
  • published 1.0.4 5 years ago
  • ```typescript // 基础控制器 // 提供 this._session,this._cookie,this.M,this.R基础操作 import {BaseController} from 'castle-controller' export default class cc extends BaseController{

    published 1.0.11 5 years ago
  • published 1.0.1 5 years ago
  • 基于vue的移动端下拉刷新上拉无限滚动加载支持自定义文案自定义gif图的插件

    published 1.0.1 5 years ago
  • published 1.0.5 5 years ago
  • published 1.0.1 5 years ago
  • published 1.0.5 5 years ago
  • published 1.0.0 5 years ago
  • published 1.0.0 5 years ago
  • published 1.0.2 5 years ago
  • 解析配置并加载对应的模块,用于自定义规则加载 ```typescript import crequire from 'castle-require' // 当传入为default值时默认加载castle-session-redis包 crequire('default',{default:'castle-session-redis'}) // 如果找不到对应的包则直接当做标准require来处理 ```

    published 1.0.2 5 years ago
  • 百度统计Api 封装

    published 1.0.1 5 years ago
  • Vue版本的百度统计,自动安装脚本及钩子注入 ```typescript // 安装 import Tongji from 'castle-vue-baidu-tongji' Vue.install(Tongji,{id:'站点ID'}) //使用 import {tongji} from 'castle-vue-baidu-tongji' tongji.pv() ```

    published 1.0.0 5 years ago
  • published 1.0.0 5 years ago
  • castle`s nginx config file generate ```typescript (async () => { let config = new nginxConfig(); config.addLocation('proxy_pass http://www.baidu.com/;') config.server_name = ['www.tansuyun.cn'] config.setSsl('./key', './key') console.log(await gen_conf(co

    published 1.0.2 5 years ago
show more packages