|
@@ -159,7 +159,7 @@ class MemberAuth extends BaseMember
|
|
$file_name = input('param.id');
|
|
$file_name = input('param.id');
|
|
if (!empty($_FILES[$file_name]['name'])) {
|
|
if (!empty($_FILES[$file_name]['name'])) {
|
|
|
|
|
|
- $res = ds_upload_pic(ATTACH_IDCARD_IMAGE, $file_name);
|
|
|
|
|
|
+ $res = ds_upload_pic(ATTACH_STORE_JOININ, $file_name);
|
|
if (!$res['code']) {
|
|
if (!$res['code']) {
|
|
ds_json_encode(10001, $res['msg']);
|
|
ds_json_encode(10001, $res['msg']);
|
|
}
|
|
}
|
|
@@ -172,7 +172,7 @@ class MemberAuth extends BaseMember
|
|
// if (!$member_model->editMember(array(array('member_id', '=', $this->member_info['member_id']), array('member_auth_state', 'in', array(0, 2))), $member_array, $this->member_info['member_id'])) {
|
|
// if (!$member_model->editMember(array(array('member_id', '=', $this->member_info['member_id']), array('member_auth_state', 'in', array(0, 2))), $member_array, $this->member_info['member_id'])) {
|
|
// ds_json_encode(10001, lang('ds_common_save_fail'));
|
|
// ds_json_encode(10001, lang('ds_common_save_fail'));
|
|
// }
|
|
// }
|
|
- ds_json_encode(10000, '', array('file_name' => $res['data']['file_name'], 'file_path' => get_member_idcard_image($res['data']['file_name'])));
|
|
|
|
|
|
+ ds_json_encode(10000, '', array('file_name' => $res['data']['file_name'], 'file_path' => get_store_joinin_imageurl($res['data']['file_name'])));
|
|
}
|
|
}
|
|
ds_json_encode(10001, lang('param_error'));
|
|
ds_json_encode(10001, lang('param_error'));
|
|
}
|
|
}
|
|
@@ -201,8 +201,8 @@ class MemberAuth extends BaseMember
|
|
$data3 = session('member_image3_'.$memberId);
|
|
$data3 = session('member_image3_'.$memberId);
|
|
|
|
|
|
ds_json_encode(10000, '',
|
|
ds_json_encode(10000, '',
|
|
- array('image2' =>get_member_idcard_image($data2['business_licence_number_electronic']),
|
|
|
|
- 'image3'=>get_member_idcard_image($data3['business_author_letter']))
|
|
|
|
|
|
+ array('image2' =>get_store_joinin_imageurl($data2['business_licence_number_electronic']),
|
|
|
|
+ 'image3'=>get_store_joinin_imageurl($data3['business_author_letter']))
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
|