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>
发表评论 取消回复