Code Monkey home page Code Monkey logo

thinkphp-jump's People

Contributors

liliuwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

thinkphp-jump's Issues

建议把dispatch_jump.tpl的默认字体中的微软雅黑换了

body{ background: #fff; font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif; color: #333; font-size: 16px; }
建议把dispatch_jump.tpl的默认字体中的微软雅黑换了。商业化字体放到开源软件里很容易让开发者吃官司

关于返回方法的问题请教一下。

这样可以正常生成
$this->success('添加成功', (string)Route::buildUrl('admin/News/create', ['cid' => $data['cid']]));
不可以正常生成
$this->success('添加成功', url('admin/News/create', ['cid' => $data['cid']]));

Call to a member function isJson() on null

已在BaseController 基类 use \liliuwei\think\Jump; 继承基类后还总是跳转报错,不知是何原因??
#0 [0]Error in Jump.php line 163
Call to a member function isJson() on null
}

/**
 * 获取当前的response 输出类型
 * @access protected
 * @return string
 */
protected function getResponseType()
{
    return $this->request->isJson() || $this->request->isAjax() ? 'json' : 'html';
}

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.