作者 郭盛
1 个管道 的构建 通过 耗费 0 秒

海报

... ... @@ -2,7 +2,6 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="73de7205-e736-4b59-941a-a54ab4506a41" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/api/index/controller/OtherController.php" afterPath="$PROJECT_DIR$/api/index/controller/OtherController.php" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
... ... @@ -17,8 +16,8 @@
<file leaf-file-name="OtherController.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/api/index/controller/OtherController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="459">
<caret line="327" column="22" lean-forward="false" selection-start-line="327" selection-start-column="22" selection-end-line="327" selection-end-column="22" />
<state relative-caret-position="284">
<caret line="326" column="50" lean-forward="false" selection-start-line="326" selection-start-column="50" selection-end-line="326" selection-end-column="50" />
<folding>
<element signature="e#129#158#0#PHP" expanded="true" />
<element signature="e#344#512#0#PHP" expanded="false" />
... ... @@ -37,12 +36,12 @@
<element signature="e#6020#6946#0#PHP" expanded="false" />
<element signature="e#6952#7256#0#PHP" expanded="false" />
<element signature="e#7261#7650#0#PHP" expanded="false" />
<element signature="e#10591#11382#0#PHP" expanded="false" />
<element signature="e#11402#12266#0#PHP" expanded="false" />
<element signature="e#12293#12693#0#PHP" expanded="false" />
<element signature="e#12717#13290#0#PHP" expanded="false" />
<element signature="e#13313#14123#0#PHP" expanded="false" />
<element signature="e#14130#15183#0#PHP" expanded="false" />
<element signature="e#10525#11316#0#PHP" expanded="false" />
<element signature="e#11336#12200#0#PHP" expanded="false" />
<element signature="e#12227#12627#0#PHP" expanded="false" />
<element signature="e#12651#13224#0#PHP" expanded="false" />
<element signature="e#13247#14057#0#PHP" expanded="false" />
<element signature="e#14064#15117#0#PHP" expanded="false" />
</folding>
</state>
</provider>
... ... @@ -127,11 +126,11 @@
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
<component name="ProjectFrameBounds" extendedState="1">
<option name="x" value="-108" />
<option name="y" value="43" />
<component name="ProjectFrameBounds">
<option name="x" value="61" />
<option name="y" value="77" />
<option name="width" value="1868" />
<option name="height" value="1046" />
<option name="height" value="1019" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1">
... ... @@ -254,15 +253,15 @@
<workItem from="1569486627319" duration="2740000" />
<workItem from="1569494185536" duration="1054000" />
<workItem from="1569544728303" duration="25104000" />
<workItem from="1569716359574" duration="26396000" />
<workItem from="1569716359574" duration="27168000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="425387000" />
<option name="totallyTimeSpent" value="426159000" />
</component>
<component name="ToolWindowManager">
<frame x="-108" y="43" width="1868" height="1046" extended-state="1" />
<frame x="61" y="77" width="1868" height="1019" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.18086283" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
... ... @@ -701,8 +700,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/api/index/controller/OtherController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="459">
<caret line="327" column="22" lean-forward="false" selection-start-line="327" selection-start-column="22" selection-end-line="327" selection-end-column="22" />
<state relative-caret-position="284">
<caret line="326" column="50" lean-forward="false" selection-start-line="326" selection-start-column="50" selection-end-line="326" selection-end-column="50" />
<folding>
<element signature="e#129#158#0#PHP" expanded="true" />
<element signature="e#344#512#0#PHP" expanded="false" />
... ... @@ -721,12 +720,12 @@
<element signature="e#6020#6946#0#PHP" expanded="false" />
<element signature="e#6952#7256#0#PHP" expanded="false" />
<element signature="e#7261#7650#0#PHP" expanded="false" />
<element signature="e#10591#11382#0#PHP" expanded="false" />
<element signature="e#11402#12266#0#PHP" expanded="false" />
<element signature="e#12293#12693#0#PHP" expanded="false" />
<element signature="e#12717#13290#0#PHP" expanded="false" />
<element signature="e#13313#14123#0#PHP" expanded="false" />
<element signature="e#14130#15183#0#PHP" expanded="false" />
<element signature="e#10525#11316#0#PHP" expanded="false" />
<element signature="e#11336#12200#0#PHP" expanded="false" />
<element signature="e#12227#12627#0#PHP" expanded="false" />
<element signature="e#12651#13224#0#PHP" expanded="false" />
<element signature="e#13247#14057#0#PHP" expanded="false" />
<element signature="e#14064#15117#0#PHP" expanded="false" />
</folding>
</state>
</provider>
... ...
... ... @@ -325,13 +325,11 @@ class OtherController extends RestBaseController
->where('id',$job['user_id'])
->find();
$avatar = $this->request->param('avatar');
dump($avatar);
$image = \think\Image::open(ROOT_PATH."public/bg.png");
$text = "期待你的加入";
$remark = "长按识别二维码识别小程序";
$result = $image
->water(ROOT_PATH."public/upload/$code",[456,590],100)
->water($user['avatar'],1,100)
->text($remark,ROOT_PATH.'public/static/font-awesome/fonts/PingFang Medium.ttf',14,'#FFFFFF',[66,659])
->text($text,ROOT_PATH.'public/static/font-awesome/fonts/PingFang Medium.ttf',12,'#FFFFFF',[132,100])
->text($job['job_title'],ROOT_PATH.'public/static/font-awesome/fonts/PingFang Medium.ttf',20,'#FFFFFF',[100,200])
... ...