提交 be077230 authored 作者: chengye's avatar chengye

修复不能上传电表照片bug

上级 2b8ac8a2
......@@ -32,7 +32,7 @@
<entry file="file://$PROJECT_DIR$/application/em/controller/Em.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="689">
<caret line="269" column="21" selection-start-line="269" selection-start-column="21" selection-end-line="269" selection-end-column="21" />
<caret line="269" selection-start-line="269" selection-end-line="269" />
</state>
</provider>
</entry>
......@@ -286,12 +286,12 @@
<workItem from="1579059424177" duration="1050000" />
<workItem from="1579079847870" duration="1330000" />
<workItem from="1579164336952" duration="142000" />
<workItem from="1580875021110" duration="1706000" />
<workItem from="1580875021110" duration="2318000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="19580000" />
<option name="totallyTimeSpent" value="20192000" />
</component>
<component name="ToolWindowManager">
<frame x="-7" y="-7" width="2575" height="1415" extended-state="6" />
......@@ -517,7 +517,7 @@
<entry file="file://$PROJECT_DIR$/application/em/controller/Em.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="689">
<caret line="269" column="21" selection-start-line="269" selection-start-column="21" selection-end-line="269" selection-end-column="21" />
<caret line="269" selection-start-line="269" selection-end-line="269" />
</state>
</provider>
</entry>
......
......@@ -267,7 +267,6 @@ class Em extends Base
$upload = new Upload($file,1);
$result = $upload->upload();
return ['aaaa'];
if(!empty($result)){
return jsonSuc('电表附件上传成功',$result);
} else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论