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

商户申请

... ... @@ -46,8 +46,8 @@
<file leaf-file-name="Merchant.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/application/home/controller/Merchant.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="997">
<caret line="110" column="19" selection-start-line="110" selection-start-column="19" selection-end-line="110" selection-end-column="19" />
<state relative-caret-position="487">
<caret line="53" column="30" selection-start-line="53" selection-start-column="23" selection-end-line="53" selection-end-column="30" />
<folding>
<element signature="e#129#166#0#PHP" expanded="true" />
</folding>
... ... @@ -58,8 +58,8 @@
<file leaf-file-name="enter_view.html" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/home/view/merchant/enter_view.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="504">
<caret line="215" column="36" selection-start-line="215" selection-start-column="36" selection-end-line="215" selection-end-column="36" />
<state relative-caret-position="470">
<caret line="102" column="51" lean-forward="true" selection-start-line="102" selection-start-column="51" selection-end-line="102" selection-end-column="51" />
<folding>
<element signature="e#2758#4616#0" />
</folding>
... ... @@ -70,8 +70,8 @@
<file leaf-file-name="withdraw_information.html" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/application/home/view/member/withdraw_information.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="272">
<caret line="43" column="12" selection-start-line="43" selection-start-column="12" selection-end-line="43" selection-end-column="74" />
<state relative-caret-position="425">
<caret line="31" column="8" selection-start-line="31" selection-start-column="8" selection-end-line="31" selection-end-column="62" />
</state>
</provider>
</entry>
... ... @@ -453,14 +453,7 @@
<workItem from="1573000530976" duration="6061000" />
<workItem from="1573087576825" duration="5555000" />
<workItem from="1573174620844" duration="32581000" />
<workItem from="1573259331081" duration="11656000" />
</task>
<task id="LOCAL-00416" summary="我的分享">
<created>1573212158572</created>
<option name="number" value="00416" />
<option name="presentableId" value="LOCAL-00416" />
<option name="project" value="LOCAL" />
<updated>1573212158572</updated>
<workItem from="1573259331081" duration="11701000" />
</task>
<task id="LOCAL-00417" summary="我的分享">
<created>1573212192169</created>
... ... @@ -798,11 +791,18 @@
<option name="project" value="LOCAL" />
<updated>1573271696392</updated>
</task>
<option name="localTasksCounter" value="465" />
<task id="LOCAL-00465" summary="商户申请">
<created>1573271829160</created>
<option name="number" value="00465" />
<option name="presentableId" value="LOCAL-00465" />
<option name="project" value="LOCAL" />
<updated>1573271829160</updated>
</task>
<option name="localTasksCounter" value="466" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="385329000" />
<option name="totallyTimeSpent" value="385374000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -1189,16 +1189,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/home/controller/Merchant.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="997">
<caret line="110" column="19" selection-start-line="110" selection-start-column="19" selection-end-line="110" selection-end-column="19" />
<folding>
<element signature="e#129#166#0#PHP" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/home/view/member/my_information.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1496">
... ... @@ -1208,15 +1198,25 @@
</entry>
<entry file="file://$PROJECT_DIR$/application/home/view/member/withdraw_information.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="272">
<caret line="43" column="12" selection-start-line="43" selection-start-column="12" selection-end-line="43" selection-end-column="74" />
<state relative-caret-position="425">
<caret line="31" column="8" selection-start-line="31" selection-start-column="8" selection-end-line="31" selection-end-column="62" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/home/controller/Merchant.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="487">
<caret line="53" column="30" selection-start-line="53" selection-start-column="23" selection-end-line="53" selection-end-column="30" />
<folding>
<element signature="e#129#166#0#PHP" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/application/home/view/merchant/enter_view.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="504">
<caret line="215" column="36" selection-start-line="215" selection-start-column="36" selection-end-line="215" selection-end-column="36" />
<state relative-caret-position="470">
<caret line="102" column="51" lean-forward="true" selection-start-line="102" selection-start-column="51" selection-end-line="102" selection-end-column="51" />
<folding>
<element signature="e#2758#4616#0" />
</folding>
... ...
... ... @@ -100,6 +100,7 @@
</div>
</div>
<div class="btn_box">
<input type="hidden" id="user_id" value="{$user_id}"/>
<div class="btn">
申请入驻
</div>
... ... @@ -189,6 +190,7 @@
});
//提交
$('.btn').click(function(){
var user_id = $('#user_id').val();
var merchant_title = $('#merchant_title').val();
var merchant_name = $('#merchant_name').val();
var merchant_mobile = $('#merchant_mobile').val();
... ... @@ -222,7 +224,7 @@
$.ajax({
url:"{:url('merchant_enter_submit')}",
type:"POST",
data:{'merchant_title':merchant_title,'merchant_name':merchant_name,'merchant_mobile':merchant_mobile,'business_images':business_images,'other_images':other_images,'area':area,'brief':brief},
data:{'user_id':user_id,'merchant_title':merchant_title,'merchant_name':merchant_name,'merchant_mobile':merchant_mobile,'business_images':business_images,'other_images':other_images,'area':area,'brief':brief},
success:function(res){
if(res.code == 1){
toast("提交成功");
... ...