Sfoglia il codice sorgente

企业授权书/身份证认证3

18838166547 2 anni fa
parent
commit
9ea101156d

+ 2 - 1
app/admin/lang/zh-cn/store.lang.php

@@ -195,6 +195,7 @@ $lang['add_store_bind_class'] = '新增外驻店铺成功,请添加店铺经
 
 $lang['identification_information']	= '证件信息'; 
 $lang['identification_number']	= '证件号码'; 
-$lang['identification_photo']	= '证件照片'; 
+$lang['identification_photo']	= '身份证件正面照片';
+$lang['business_author_letter']	= '身份证件反面照片';
 return $lang;
 ?>

+ 10 - 0
app/admin/view/store/store_joinin_detail.html

@@ -179,6 +179,16 @@
                    {/notempty}
                </td>
            </tr>
+           <tr>
+               <th>{$Think.lang.business_author_letter}:</th>
+               <td colspan="20">
+                   {notempty name="joinin_detail.business_author_letter"}
+                   <a data-lightbox="lightbox-image"  href="{:get_store_joinin_imageurl($joinin_detail['business_author_letter'])}">
+                       <img src="{:get_store_joinin_imageurl($joinin_detail['business_author_letter'])}" alt="" height="200"/>
+                   </a>
+                   {/notempty}
+               </td>
+           </tr>
        </tbody>
    </table>
 

+ 3 - 2
app/home/controller/BaseMember.php

@@ -217,9 +217,10 @@ class BaseMember extends BaseHome
 
     public function getIdCardInfo2($memberInfo)
     {
-        $url = get_member_idcard_image($memberInfo['member_idcard_image2']);
+        $url = get_store_joinin_imageurl($memberInfo['business_licence_number_electronic']);
+        $url2 = get_store_joinin_imageurl($memberInfo['business_author_letter']);
         $base64 = $this->getBase64($url);
-        $base642 = $this->getNegative();
+        $base642 = $this->getBase64($url2);
         $res = $this->postAiOcr($base64,$base642);
 
         return $res;

+ 1 - 0
app/home/controller/Sellerjoininc2c.php

@@ -138,6 +138,7 @@ class Sellerjoininc2c extends BaseMember
             $param['business_licence_end'] = input('post.business_licence_end');
             $param['business_sphere'] = input('post.business_sphere');
             $param['business_licence_number_electronic'] = $this->upload_image('business_licence_number_electronic');
+            $param['business_author_letter'] = $this->upload_image('business_author_letter');
 
             $this->step2_save_valid($param);
 

+ 2 - 1
app/home/lang/zh-cn/sellerjoinin.lang.php

@@ -153,7 +153,8 @@ $lang['fill_name_id_card']	= '请填写身份证上姓名';
 $lang['upload_own_id_card']	= '请选择上传手执身份证照';
 $lang['identification_information']	= '证件信息'; 
 $lang['identification_number']	= '证件号码'; 
-$lang['identification_photo']	= '证件照片'; 
+$lang['identification_photo']	= '身份证件正面照片';
+$lang['business_author_letter']	= '身份证件反面照片';
 //step2
 $lang['alipay_name'] = '支付宝姓名';
 $lang['fill_alipay_name'] = '请填写支付宝姓名';

+ 5 - 0
app/home/view/default/member/sellerjoininc2c/step1.html

@@ -289,6 +289,11 @@
           <td><input name="business_licence_number_electronic" type="file" class="w200" />
             <span class="block"></span></td>
         </tr>
+        <tr>
+            <th><i>*</i>{$Think.lang.business_author_letter}:</th>
+            <td><input name="business_author_letter" type="file" class="w200" />
+                <span class="block"></span></td>
+        </tr>
       </tbody>
       <tfoot>
         <tr>