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

我的分享

@@ -63,8 +63,8 @@ @@ -63,8 +63,8 @@
63 <file leaf-file-name="Share.php" pinned="false" current-in-tab="true"> 63 <file leaf-file-name="Share.php" pinned="false" current-in-tab="true">
64 <entry file="file://$PROJECT_DIR$/application/home/controller/Share.php"> 64 <entry file="file://$PROJECT_DIR$/application/home/controller/Share.php">
65 <provider selected="true" editor-type-id="text-editor"> 65 <provider selected="true" editor-type-id="text-editor">
66 - <state relative-caret-position="555">  
67 - <caret line="86" column="37" selection-start-line="86" selection-start-column="37" selection-end-line="86" selection-end-column="37" /> 66 + <state relative-caret-position="519">
  67 + <caret line="128" column="36" selection-start-line="128" selection-start-column="36" selection-end-line="128" selection-end-column="36" />
68 </state> 68 </state>
69 </provider> 69 </provider>
70 </entry> 70 </entry>
@@ -430,49 +430,7 @@ @@ -430,49 +430,7 @@
430 <workItem from="1572914713443" duration="29898000" /> 430 <workItem from="1572914713443" duration="29898000" />
431 <workItem from="1573000530976" duration="6061000" /> 431 <workItem from="1573000530976" duration="6061000" />
432 <workItem from="1573087576825" duration="5555000" /> 432 <workItem from="1573087576825" duration="5555000" />
433 - <workItem from="1573174620844" duration="28503000" />  
434 - </task>  
435 - <task id="LOCAL-00330" summary="我的钱包">  
436 - <created>1573202932430</created>  
437 - <option name="number" value="00330" />  
438 - <option name="presentableId" value="LOCAL-00330" />  
439 - <option name="project" value="LOCAL" />  
440 - <updated>1573202932430</updated>  
441 - </task>  
442 - <task id="LOCAL-00331" summary="我的钱包">  
443 - <created>1573202984703</created>  
444 - <option name="number" value="00331" />  
445 - <option name="presentableId" value="LOCAL-00331" />  
446 - <option name="project" value="LOCAL" />  
447 - <updated>1573202984703</updated>  
448 - </task>  
449 - <task id="LOCAL-00332" summary="我的钱包">  
450 - <created>1573203011455</created>  
451 - <option name="number" value="00332" />  
452 - <option name="presentableId" value="LOCAL-00332" />  
453 - <option name="project" value="LOCAL" />  
454 - <updated>1573203011455</updated>  
455 - </task>  
456 - <task id="LOCAL-00333" summary="我的钱包">  
457 - <created>1573203339437</created>  
458 - <option name="number" value="00333" />  
459 - <option name="presentableId" value="LOCAL-00333" />  
460 - <option name="project" value="LOCAL" />  
461 - <updated>1573203339437</updated>  
462 - </task>  
463 - <task id="LOCAL-00334" summary="我的钱包">  
464 - <created>1573203675366</created>  
465 - <option name="number" value="00334" />  
466 - <option name="presentableId" value="LOCAL-00334" />  
467 - <option name="project" value="LOCAL" />  
468 - <updated>1573203675366</updated>  
469 - </task>  
470 - <task id="LOCAL-00335" summary="我的钱包">  
471 - <created>1573203723100</created>  
472 - <option name="number" value="00335" />  
473 - <option name="presentableId" value="LOCAL-00335" />  
474 - <option name="project" value="LOCAL" />  
475 - <updated>1573203723100</updated> 433 + <workItem from="1573174620844" duration="28770000" />
476 </task> 434 </task>
477 <task id="LOCAL-00336" summary="我的钱包"> 435 <task id="LOCAL-00336" summary="我的钱包">
478 <created>1573205496935</created> 436 <created>1573205496935</created>
@@ -775,11 +733,53 @@ @@ -775,11 +733,53 @@
775 <option name="project" value="LOCAL" /> 733 <option name="project" value="LOCAL" />
776 <updated>1573210363206</updated> 734 <updated>1573210363206</updated>
777 </task> 735 </task>
778 - <option name="localTasksCounter" value="379" /> 736 + <task id="LOCAL-00379" summary="我的分享">
  737 + <created>1573210388476</created>
  738 + <option name="number" value="00379" />
  739 + <option name="presentableId" value="LOCAL-00379" />
  740 + <option name="project" value="LOCAL" />
  741 + <updated>1573210388476</updated>
  742 + </task>
  743 + <task id="LOCAL-00380" summary="我的分享">
  744 + <created>1573210450630</created>
  745 + <option name="number" value="00380" />
  746 + <option name="presentableId" value="LOCAL-00380" />
  747 + <option name="project" value="LOCAL" />
  748 + <updated>1573210450630</updated>
  749 + </task>
  750 + <task id="LOCAL-00381" summary="我的分享">
  751 + <created>1573210480144</created>
  752 + <option name="number" value="00381" />
  753 + <option name="presentableId" value="LOCAL-00381" />
  754 + <option name="project" value="LOCAL" />
  755 + <updated>1573210480144</updated>
  756 + </task>
  757 + <task id="LOCAL-00382" summary="我的分享">
  758 + <created>1573210509641</created>
  759 + <option name="number" value="00382" />
  760 + <option name="presentableId" value="LOCAL-00382" />
  761 + <option name="project" value="LOCAL" />
  762 + <updated>1573210509641</updated>
  763 + </task>
  764 + <task id="LOCAL-00383" summary="我的分享">
  765 + <created>1573210555775</created>
  766 + <option name="number" value="00383" />
  767 + <option name="presentableId" value="LOCAL-00383" />
  768 + <option name="project" value="LOCAL" />
  769 + <updated>1573210555775</updated>
  770 + </task>
  771 + <task id="LOCAL-00384" summary="我的分享">
  772 + <created>1573210604209</created>
  773 + <option name="number" value="00384" />
  774 + <option name="presentableId" value="LOCAL-00384" />
  775 + <option name="project" value="LOCAL" />
  776 + <updated>1573210604209</updated>
  777 + </task>
  778 + <option name="localTasksCounter" value="385" />
779 <servers /> 779 <servers />
780 </component> 780 </component>
781 <component name="TimeTrackingManager"> 781 <component name="TimeTrackingManager">
782 - <option name="totallyTimeSpent" value="369595000" /> 782 + <option name="totallyTimeSpent" value="369862000" />
783 </component> 783 </component>
784 <component name="ToolWindowManager"> 784 <component name="ToolWindowManager">
785 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> 785 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
@@ -1194,8 +1194,8 @@ @@ -1194,8 +1194,8 @@
1194 </entry> 1194 </entry>
1195 <entry file="file://$PROJECT_DIR$/application/home/controller/Share.php"> 1195 <entry file="file://$PROJECT_DIR$/application/home/controller/Share.php">
1196 <provider selected="true" editor-type-id="text-editor"> 1196 <provider selected="true" editor-type-id="text-editor">
1197 - <state relative-caret-position="555">  
1198 - <caret line="86" column="37" selection-start-line="86" selection-start-column="37" selection-end-line="86" selection-end-column="37" /> 1197 + <state relative-caret-position="519">
  1198 + <caret line="128" column="36" selection-start-line="128" selection-start-column="36" selection-end-line="128" selection-end-column="36" />
1199 </state> 1199 </state>
1200 </provider> 1200 </provider>
1201 </entry> 1201 </entry>
@@ -84,7 +84,7 @@ class Share extends WechatBase @@ -84,7 +84,7 @@ class Share extends WechatBase
84 } 84 }
85 //圆形的头像 85 //圆形的头像
86 $image = \think\Image::open(ROOT_PATH."public/white.png"); 86 $image = \think\Image::open(ROOT_PATH."public/white.png");
87 - $image->water($avatar_url,[311,40],100) 87 + $image->water($avatar_url,[312,40],100)
88 ->water(ROOT_PATH."public/bg$type.png") 88 ->water(ROOT_PATH."public/bg$type.png")
89 ->water($url,[300,500],100) 89 ->water($url,[300,500],100)
90 ->save($savePath."poster_$user[id].png"); 90 ->save($savePath."poster_$user[id].png");