diff --git a/service/Application/Admin/Controller/GoodsController.class.php b/service/Application/Admin/Controller/GoodsController.class.php index 500b03fe4..ec5bf22a1 100755 --- a/service/Application/Admin/Controller/GoodsController.class.php +++ b/service/Application/Admin/Controller/GoodsController.class.php @@ -415,7 +415,7 @@ class GoodsController extends CommonController $m->commit(); // 删除原来的视频 - if(!empty($goods['video']) && !empty($video['data']['file_video']['url'])) + if(!empty($goods['video']) && (!empty($video['data']['file_video']['url']) || empty($data['video']))) { $this->FileDelete($goods['video']); } diff --git a/service/Application/Api/Lang/zh-cn/agreement.php b/service/Application/Api/Lang/zh-cn/agreement.php deleted file mode 100755 index d272c5e85..000000000 --- a/service/Application/Api/Lang/zh-cn/agreement.php +++ /dev/null @@ -1,13 +0,0 @@ - '服务协议', -); -?> \ No newline at end of file diff --git a/service/Application/Api/Lang/zh-cn/merchant.php b/service/Application/Api/Lang/zh-cn/merchant.php deleted file mode 100755 index 5d3e104ae..000000000 --- a/service/Application/Api/Lang/zh-cn/merchant.php +++ /dev/null @@ -1,46 +0,0 @@ - '站点名称', - 'merchant_name_format' => '站点名称格式 2~60 个字符', - - 'merchant_license_text' => '执照信息', - 'merchant_license_name_text' => '执照名称', - 'merchant_license_name_format' => '执照名称格式 2~80 个字符', - - 'merchant_license_number_text' => '执照编号', - 'merchant_license_number_format' => '执照编号格式 2~60 个字符', - - 'merchant_address_ssqx_text' => '省/市/区县', - 'merchant_address_save_text' => '详细地址', - 'merchant_address_text' => '地址', - 'merchant_province_format' => '请选择所在省', - 'merchant_city_format' => '请选择所在市', - 'merchant_county_format' => '请选择所在区', - 'merchant_address_format' => '详细地址格式 2~80 个字符', - 'merchant_coordinate_format' => '请定位站点坐标位置', - - 'merchant_contacts_text' => '负责人', - 'merchant_contacts_name_text' => '负责人姓名', - 'merchant_contacts_name_format' => '负责人姓名格式 2~60 个字符', - 'merchant_contacts_tel_text' => '负责人电话', - 'merchant_contacts_tel_format' => '负责人电话格式 2~15 个字符', - - 'merchant_courier_number_text' => '配送人员数量', - 'merchant_courier_number_format' => '请填写配送人员数量', - - 'merchant_license_images_text' => '执照', - 'merchant_license_images_format' => '请上传执照', - - 'merchant_courier_health_images_text' => '配送人员健康证', - 'merchant_courier_health_images_format' => '请上传配送人员健康证', -); -?> \ No newline at end of file diff --git a/service/Application/Home/View/Default/Index/Index.html b/service/Application/Home/View/Default/Index/Index.html index 26061326b..d09af5141 100755 --- a/service/Application/Home/View/Default/Index/Index.html +++ b/service/Application/Home/View/Default/Index/Index.html @@ -39,11 +39,11 @@