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

我的钱包

... ... @@ -5,7 +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" />
<option name="TRACKING_ENABLED" value="true" />
... ... @@ -63,8 +63,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="340">
<caret line="48" column="33" lean-forward="true" selection-start-line="48" selection-start-column="33" selection-end-line="48" selection-end-column="33" />
<state relative-caret-position="612">
<caret line="88" column="29" selection-start-line="88" selection-start-column="29" selection-end-line="88" selection-end-column="29" />
</state>
</provider>
</entry>
... ... @@ -206,11 +206,11 @@
<option value="$PROJECT_DIR$/application/home/view/collect/index.html" />
<option value="$PROJECT_DIR$/application/home/controller/Collect.php" />
<option value="$PROJECT_DIR$/application/home/view/share/index.html" />
<option value="$PROJECT_DIR$/application/home/controller/Share.php" />
<option value="$PROJECT_DIR$/application/home/view/merchant/enter.html" />
<option value="$PROJECT_DIR$/application/home/view/merchant/index.html" />
<option value="$PROJECT_DIR$/application/home/controller/Merchant.php" />
<option value="$PROJECT_DIR$/application/home/view/merchant/enter_view.html" />
<option value="$PROJECT_DIR$/application/home/controller/Share.php" />
</list>
</option>
</component>
... ... @@ -430,14 +430,7 @@
<workItem from="1572914713443" duration="29898000" />
<workItem from="1573000530976" duration="6061000" />
<workItem from="1573087576825" duration="5555000" />
<workItem from="1573174620844" duration="26456000" />
</task>
<task id="LOCAL-00299" summary="我的钱包">
<created>1573198850323</created>
<option name="number" value="00299" />
<option name="presentableId" value="LOCAL-00299" />
<option name="project" value="LOCAL" />
<updated>1573198850323</updated>
<workItem from="1573174620844" duration="26628000" />
</task>
<task id="LOCAL-00300" summary="我的钱包">
<created>1573198916533</created>
... ... @@ -775,14 +768,21 @@
<option name="project" value="LOCAL" />
<updated>1573208240665</updated>
</task>
<option name="localTasksCounter" value="348" />
<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>
<option name="localTasksCounter" value="349" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="367548000" />
<option name="totallyTimeSpent" value="367720000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="7" />
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<editor active="true" />
<layout>
<window_info anchor="bottom" id="TODO" order="6" />
... ... @@ -1197,8 +1197,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/application/home/controller/Share.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="340">
<caret line="48" column="33" lean-forward="true" selection-start-line="48" selection-start-column="33" selection-end-line="48" selection-end-column="33" />
<state relative-caret-position="612">
<caret line="88" column="29" selection-start-line="88" selection-start-column="29" selection-end-line="88" selection-end-column="29" />
</state>
</provider>
</entry>
... ...
... ... @@ -86,7 +86,7 @@ class Share extends WechatBase
$image = \think\Image::open(ROOT_PATH."public/white.png");
$image->water($avatar_url,[150,40],100)
->water(ROOT_PATH."public/bg$type.png")
->water($url,[250,800],100)
->water($url,[350,1000],100)
->save($savePath."poster_$user[id].png");
return "./uploads/poster$type/poster_$user[id].png";
}
... ...