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

修复不能上传电表照片bug

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