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

商户申请

... ... @@ -4,10 +4,7 @@
<bookmark url="file://$PROJECT_DIR$/application/home/view/member/my_information.html" line="118" mnemonic="4" />
</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>
<list default="true" id="309ad746-5b2a-4c29-af46-e7925a35765c" name="默认的" comment="" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
... ... @@ -56,7 +53,7 @@
<entry file="file://$PROJECT_DIR$/application/home/controller/Share.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="391">
<caret line="75" column="14" selection-start-line="75" selection-start-column="14" selection-end-line="75" selection-end-column="14" />
<caret line="75" column="52" selection-start-line="75" selection-start-column="11" selection-end-line="75" selection-end-column="52" />
</state>
</provider>
</entry>
... ... @@ -396,21 +393,7 @@
<workItem from="1573259331081" duration="30435000" />
<workItem from="1573432217070" duration="2199000" />
<workItem from="1573519427130" duration="17475000" />
<workItem from="1573605070739" duration="3978000" />
</task>
<task id="LOCAL-00570" summary=" 商户申请">
<created>1573540668054</created>
<option name="number" value="00570" />
<option name="presentableId" value="LOCAL-00570" />
<option name="project" value="LOCAL" />
<updated>1573540668054</updated>
</task>
<task id="LOCAL-00571" summary=" 商户申请">
<created>1573540843709</created>
<option name="number" value="00571" />
<option name="presentableId" value="LOCAL-00571" />
<option name="project" value="LOCAL" />
<updated>1573540843709</updated>
<workItem from="1573605070739" duration="4754000" />
</task>
<task id="LOCAL-00572" summary=" 商户申请">
<created>1573540952251</created>
... ... @@ -741,11 +724,25 @@
<option name="project" value="LOCAL" />
<updated>1573613749446</updated>
</task>
<option name="localTasksCounter" value="619" />
<task id="LOCAL-00619" summary=" 商户申请">
<created>1573614237426</created>
<option name="number" value="00619" />
<option name="presentableId" value="LOCAL-00619" />
<option name="project" value="LOCAL" />
<updated>1573614237427</updated>
</task>
<task id="LOCAL-00620" summary=" 商户申请">
<created>1573614331346</created>
<option name="number" value="00620" />
<option name="presentableId" value="LOCAL-00620" />
<option name="project" value="LOCAL" />
<updated>1573614331346</updated>
</task>
<option name="localTasksCounter" value="621" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="427760000" />
<option name="totallyTimeSpent" value="428536000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -1132,7 +1129,7 @@
<entry file="file://$PROJECT_DIR$/application/home/controller/Share.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="391">
<caret line="75" column="14" selection-start-line="75" selection-start-column="14" selection-end-line="75" selection-end-column="14" />
<caret line="75" column="52" selection-start-line="75" selection-start-column="11" selection-end-line="75" selection-end-column="52" />
</state>
</provider>
</entry>
... ...
... ... @@ -73,6 +73,7 @@ class Share extends WechatBase
private function processing($url,$user,$type){
$user_id = $user['id'];
echo strpos($user['avatar'],'http');
exit();
//保存头像
if(strpos($user['avatar'],'https') === false || strpos($user['avatar'],'http') === false){
$fileName = "avatar_$user_id";
... ...