use think\Exception;
                 throw new Exception("已完成的订单禁止修改。");

快捷键:modelerr

源:

sublime_text格式

<snippet>
    <content><![CDATA[
use think\Exception;
                 throw new Exception("已完成的订单禁止修改。");
]]></content>
   <tabTrigger>modelerr(模型返回错误,抛出错误)</tabTrigger>
   <scope></scope>
</snippet>
点赞(0)

评论列表 共有 0 条评论

暂无评论
立即
投稿
发表
评论
返回
顶部