作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

我的分享

... ... @@ -5,6 +5,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="309ad746-5b2a-4c29-af46-e7925a35765c" name="默认的" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/home/controller/Share.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/home/controller/Share.php" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
... ... @@ -63,8 +64,8 @@
<file leaf-file-name="Share.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/home/controller/Share.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="519">
<caret line="86" column="40" selection-start-line="86" selection-start-column="40" selection-end-line="86" selection-end-column="40" />
<state relative-caret-position="332">
<caret line="153" column="18" selection-start-line="153" selection-start-column="18" selection-end-line="153" selection-end-column="18" />
</state>
</provider>
</entry>
... ... @@ -430,70 +431,7 @@
<workItem from="1572914713443" duration="29898000" />
<workItem from="1573000530976" duration="6061000" />
<workItem from="1573087576825" duration="5555000" />
<workItem from="1573174620844" duration="29150000" />
</task>
<task id="LOCAL-00345" summary="我的钱包">
<created>1573206517079</created>
<option name="number" value="00345" />
<option name="presentableId" value="LOCAL-00345" />
<option name="project" value="LOCAL" />
<updated>1573206517079</updated>
</task>
<task id="LOCAL-00346" summary="我的钱包">
<created>1573206921720</created>
<option name="number" value="00346" />
<option name="presentableId" value="LOCAL-00346" />
<option name="project" value="LOCAL" />
<updated>1573206921720</updated>
</task>
<task id="LOCAL-00347" summary="我的钱包">
<created>1573208240665</created>
<option name="number" value="00347" />
<option name="presentableId" value="LOCAL-00347" />
<option name="project" value="LOCAL" />
<updated>1573208240665</updated>
</task>
<task id="LOCAL-00348" summary="我的钱包">
<created>1573208426669</created>
<option name="number" value="00348" />
<option name="presentableId" value="LOCAL-00348" />
<option name="project" value="LOCAL" />
<updated>1573208426669</updated>
</task>
<task id="LOCAL-00349" summary="我的钱包">
<created>1573208515651</created>
<option name="number" value="00349" />
<option name="presentableId" value="LOCAL-00349" />
<option name="project" value="LOCAL" />
<updated>1573208515651</updated>
</task>
<task id="LOCAL-00350" summary="我的钱包">
<created>1573208572014</created>
<option name="number" value="00350" />
<option name="presentableId" value="LOCAL-00350" />
<option name="project" value="LOCAL" />
<updated>1573208572014</updated>
</task>
<task id="LOCAL-00351" summary="我的钱包">
<created>1573208665464</created>
<option name="number" value="00351" />
<option name="presentableId" value="LOCAL-00351" />
<option name="project" value="LOCAL" />
<updated>1573208665464</updated>
</task>
<task id="LOCAL-00352" summary="我的钱包">
<created>1573208815834</created>
<option name="number" value="00352" />
<option name="presentableId" value="LOCAL-00352" />
<option name="project" value="LOCAL" />
<updated>1573208815834</updated>
</task>
<task id="LOCAL-00353" summary="我的钱包">
<created>1573208885698</created>
<option name="number" value="00353" />
<option name="presentableId" value="LOCAL-00353" />
<option name="project" value="LOCAL" />
<updated>1573208885698</updated>
<workItem from="1573174620844" duration="29468000" />
</task>
<task id="LOCAL-00354" summary="我的钱包">
<created>1573208919732</created>
... ... @@ -775,11 +713,74 @@
<option name="project" value="LOCAL" />
<updated>1573211004556</updated>
</task>
<option name="localTasksCounter" value="394" />
<task id="LOCAL-00394" summary="我的分享">
<created>1573211040562</created>
<option name="number" value="00394" />
<option name="presentableId" value="LOCAL-00394" />
<option name="project" value="LOCAL" />
<updated>1573211040562</updated>
</task>
<task id="LOCAL-00395" summary="我的分享">
<created>1573211066172</created>
<option name="number" value="00395" />
<option name="presentableId" value="LOCAL-00395" />
<option name="project" value="LOCAL" />
<updated>1573211066172</updated>
</task>
<task id="LOCAL-00396" summary="我的分享">
<created>1573211091157</created>
<option name="number" value="00396" />
<option name="presentableId" value="LOCAL-00396" />
<option name="project" value="LOCAL" />
<updated>1573211091157</updated>
</task>
<task id="LOCAL-00397" summary="我的分享">
<created>1573211119461</created>
<option name="number" value="00397" />
<option name="presentableId" value="LOCAL-00397" />
<option name="project" value="LOCAL" />
<updated>1573211119461</updated>
</task>
<task id="LOCAL-00398" summary="我的分享">
<created>1573211160222</created>
<option name="number" value="00398" />
<option name="presentableId" value="LOCAL-00398" />
<option name="project" value="LOCAL" />
<updated>1573211160222</updated>
</task>
<task id="LOCAL-00399" summary="我的分享">
<created>1573211196026</created>
<option name="number" value="00399" />
<option name="presentableId" value="LOCAL-00399" />
<option name="project" value="LOCAL" />
<updated>1573211196026</updated>
</task>
<task id="LOCAL-00400" summary="我的分享">
<created>1573211226975</created>
<option name="number" value="00400" />
<option name="presentableId" value="LOCAL-00400" />
<option name="project" value="LOCAL" />
<updated>1573211226975</updated>
</task>
<task id="LOCAL-00401" summary="我的分享">
<created>1573211257750</created>
<option name="number" value="00401" />
<option name="presentableId" value="LOCAL-00401" />
<option name="project" value="LOCAL" />
<updated>1573211257750</updated>
</task>
<task id="LOCAL-00402" summary="我的分享">
<created>1573211312227</created>
<option name="number" value="00402" />
<option name="presentableId" value="LOCAL-00402" />
<option name="project" value="LOCAL" />
<updated>1573211312227</updated>
</task>
<option name="localTasksCounter" value="403" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="370242000" />
<option name="totallyTimeSpent" value="370560000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -1194,8 +1195,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/application/home/controller/Share.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="519">
<caret line="86" column="40" selection-start-line="86" selection-start-column="40" selection-end-line="86" selection-end-column="40" />
<state relative-caret-position="332">
<caret line="153" column="18" selection-start-line="153" selection-start-column="18" selection-end-line="153" selection-end-column="18" />
</state>
</provider>
</entry>
... ...
... ... @@ -151,9 +151,9 @@ class Share extends WechatBase
$code_img = $this->code_img($user_id);
$code = file_get_contents($code_img);
file_put_contents($savePath.$file_name,$code);
//等比放大缩小二维码
//$image = \think\Image::open($savePath.$file_name);
//$image->thumb(450, 450,\think\Image::THUMB_SCALING)->save($savePath.$file_name);
//等比缩放缩小二维码
$image = \think\Image::open($savePath.$file_name);
$image->thumb(300, 300,\think\Image::THUMB_SCALING)->save($savePath.$file_name);
}
return "./uploads/code_img/$file_name";
}
... ...