diff --git a/crmeb/app/services/other/export/ExportServices.php b/crmeb/app/services/other/export/ExportServices.php
index 86da2fa75..dbc60b908 100644
--- a/crmeb/app/services/other/export/ExportServices.php
+++ b/crmeb/app/services/other/export/ExportServices.php
@@ -74,7 +74,7 @@ class ExportServices extends BaseServices
*/
public function exportOrderList($where)
{
- $header = ['订单号', '收货人姓名', '收货人电话', '收货地址', '商品信息', '总价格', '实际支付', '支付状态', '支付时间', '订单状态', '下单时间', '用户备注', '表单信息'];
+ $header = ['订单号', '收货人姓名', '收货人电话', '收货地址', '商品信息', '总价格', '实际支付', '支付状态', '支付时间', '订单状态', '下单时间', '用户备注', '商家备注', '表单信息'];
$filename = '订单列表_' . date('YmdHis', time());
$export = $fileKey = [];
/** @var StoreOrderServices $orderServices */
@@ -162,6 +162,7 @@ class ExportServices extends BaseServices
'status_name' => $item['status_name'] ?? '未知状态',
'add_time' => $item['add_time'],
'mark' => $item['mark'],
+ 'remark' => $item['remark'],
'custom_form' => $custom_form,
];
$export[] = $one_data;
diff --git a/crmeb/config/upload.php b/crmeb/config/upload.php
index e7ecb3f12..782ec145c 100644
--- a/crmeb/config/upload.php
+++ b/crmeb/config/upload.php
@@ -18,6 +18,7 @@ return [
'fileExt' => ['jpg', 'jpeg', 'png', 'gif', 'pem', 'mp3', 'wma', 'wav', 'amr', 'mp4', 'key', 'xlsx', 'xls', 'txt', 'ico'],
//上传文件类型
'fileMime' => [
+ 'image/jpg',
'image/jpeg',
'image/gif',
'image/png',
diff --git a/crmeb/crmeb/services/easywechat/orderShipping/ServiceProvider.php b/crmeb/crmeb/services/easywechat/orderShipping/ServiceProvider.php
index 989b02c02..8307dbc71 100644
--- a/crmeb/crmeb/services/easywechat/orderShipping/ServiceProvider.php
+++ b/crmeb/crmeb/services/easywechat/orderShipping/ServiceProvider.php
@@ -31,14 +31,13 @@ class ServiceProvider implements ServiceProviderInterface
{
$pimple['mini_program.access_token'] = function ($pimple) {
return new AccessToken(
- $pimple['config']['order_shipping']['app_id'],
- $pimple['config']['order_shipping']['secret'],
+ $pimple['config']['mini_program']['app_id'],
+ $pimple['config']['mini_program']['secret'],
$pimple['cache']
);
};
-
$pimple['order_ship'] = function ($pimple) {
- return new OrderClient($pimple['access_token'], $pimple);
+ return new OrderClient($pimple['mini_program.access_token'], $pimple);
};
}
}
diff --git a/crmeb/crmeb/services/upload/BaseUpload.php b/crmeb/crmeb/services/upload/BaseUpload.php
index 3c2f0231b..c35eec6d2 100644
--- a/crmeb/crmeb/services/upload/BaseUpload.php
+++ b/crmeb/crmeb/services/upload/BaseUpload.php
@@ -369,7 +369,7 @@ abstract class BaseUpload extends BaseStorage
* 文件流上传
* @return mixed
*/
- abstract public function stream(string $fileContent, string $key = null);
+ abstract public function stream($fileContent, string $key = null);
/**
* 删除文件
diff --git a/crmeb/public/install/crmeb.sql b/crmeb/public/install/crmeb.sql
index 16c784199..8d5e76041 100755
--- a/crmeb/public/install/crmeb.sql
+++ b/crmeb/public/install/crmeb.sql
@@ -26685,16 +26685,16 @@ INSERT INTO `eb_lang_code` (`id`, `type_id`, `code`, `remarks`, `lang_explain`,
(25148, 8, '500045', '不存在的资源路由类型', 'Байхгүй байгаа нөөцийн чиглүүлэлтийн төрөл', 1),
(25149, 9, '500045', '不存在的资源路由类型', 'ชนิดของการกำหนดเส้นทางทรัพยากรที่ไม่มีอยู่', 1),
(25150, 10, '500045', '不存在的资源路由类型', 'Loại định tuyến tài nguyên không tồn tại', 1),
-(25151, 1, '500046', '表单数据生成失败', '表单数据生成失败', 1),
-(25152, 2, '500046', '表单数据生成失败', 'Form data generation failed', 1),
-(25153, 3, '500046', '表单数据生成失败', '表單數據生成失敗', 1),
-(25154, 4, '500046', '表单数据生成失败', 'Échec de la génération des données du formulaire', 1),
-(25155, 5, '500046', '表单数据生成失败', 'Generazione dei dati del modulo non riuscita', 1),
-(25156, 6, '500046', '表单数据生成失败', 'フォームデータの生成に失敗しました', 1),
-(25157, 7, '500046', '表单数据生成失败', '양식 데이터 생성 실패', 1),
-(25158, 8, '500046', '表单数据生成失败', 'Маягт өгөгдөл үүсгэх бүтэлгүйтсэн', 1),
-(25159, 9, '500046', '表单数据生成失败', 'การสร้างข้อมูลแบบฟอร์มล้มเหลว', 1),
-(25160, 10, '500046', '表单数据生成失败', 'Tạo dữ liệu biểu mẫu không thành công', 1),
+(25151, 1, '500046', '表单类型至少选择一项', '表单类型至少选择一项', 1),
+(25152, 2, '500046', '表单类型至少选择一项', ' at least one form type', 1),
+(25153, 3, '500046', '表单类型至少选择一项', '表單類型至少選擇一項', 1),
+(25154, 4, '500046', '表单类型至少选择一项', 'Sélectionnez au moins un type de formulaire', 1),
+(25155, 5, '500046', '表单类型至少选择一项', 'Selezionare almeno un tipo di modulo', 1),
+(25156, 6, '500046', '表单类型至少选择一项', 'フォームタイプ1つ以上を選択', 1),
+(25157, 7, '500046', '表单类型至少选择一项', '하나 이상의 양식 유형 선택', 1),
+(25158, 8, '500046', '表单类型至少选择一项', 'Ядаж нэг маягтын төрлийг сонгох', 1),
+(25159, 9, '500046', '表单类型至少选择一项', 'เลือกประเภทของแบบฟอร์มอย่างน้อยหนึ่งรายการ', 1),
+(25160, 10, '500046', '表单类型至少选择一项', 'Chọn ít nhất một loại biểu mẫu', 1),
(25161, 1, '500047', '列表展示数据生成失败', '列表展示数据生成失败', 1),
(25162, 2, '500047', '列表展示数据生成失败', 'List display data generation failed', 1),
(25163, 3, '500047', '列表展示数据生成失败', '列表展示數據生成失敗', 1),
@@ -33726,6 +33726,7 @@ INSERT INTO `eb_system_config` (`id`, `menu_name`, `type`, `input_type`, `config
(388, 'customer_corpId', 'text', 'input', 69, '', 1, '', 0, 0, '\"\"', '企业ID', '如果客服链接填写企业微信客服,小程序需要跳转企业微信客服的话需要配置此项,并且在小程序客服中绑定企业ID', 0, 1),
(389, 'create_wechat_user', 'radio', 'input', 2, '1=>开启\r\n0=>关闭', 1, '', 0, 0, '0', '关注公众号是否生成用户', '关注公众号是否生成用户', 0, 1),
(390, 'friend_pay_status', 'radio', 'input', 109, '1=>开启\r\n0=>关闭', 1, '', 0, 0, '1', '好友代付', '好友代付开关,关闭后付款类型不显示好友代付', 0, 1),
+(391, 'division_status', 'radio', 'input', 72, '1=>开启\r\n0=>关闭', 1, '', 0, 0, '0', '事业部开关', '事业部开关,关闭后不不计算事业部佣金', 0, 1),
(392, 'brokerage_level', 'radio', 'input', 72, '1=>一级分销\r\n2=>二级分销', 1, '', 0, 0, '2', '分销层级', '分销层级,一级是只返上级一层的佣金,二级是返上级和上上级的佣金', 98, 1),
(393, 'sms_type', 'radio', 'input', 97, '0=>一号通\r\n1=>阿里云\r\n2=>腾讯云', 1, '', 0, 0, '0', '短信类型', '短信类型,选择发送的短信类型', 0, 1),
(394, 'aliyun_AccessKeyId', 'text', 'input', 98, '', 1, '', 0, 0, '\"\"', '阿里云AccessKeyId', '阿里云AccessKeyId', 100, 1),
@@ -33760,7 +33761,6 @@ INSERT INTO `eb_system_config` (`id`, `menu_name`, `type`, `input_type`, `config
(431, 'member_brokerage', 'radio', 'input', 73, '1=>开启\n0=>关闭', 1, '', 0, 0, '\"0\"', '购买付费会员返佣', '购买付费会员是否按照设置的佣金比例进行返佣', 98, 1),
(432, 'user_brokerage_type', 'radio', 'input', 73, '0=>按照商品价格返佣\n1=>按照实际支付价格返佣', 1, '', 0, 0, '\"0\"', '返佣类型', '选择返佣类型,按照商品价格返佣(按照商品售价计算返佣金额)以及按照实际支付价格返佣(按照商品的实际支付价格计算返佣 )', 97, 1),
(433, 'network_security', 'text', 'input', 26, '', 1, '', 0, 0, '\"\\u4eac\\u516c\\u7f51\\u5b89\\u5907xxxxxx\\u53f7\"', '网安备案', '公安部门登记的备案信息,显示在pc底部', 8, 1),
-(434, 'cert_crmeb', 'text', 'input', 1, '', 1, '', 0, 0, '\",\\u5f00\\u6e90\\u7248\"', '授权密钥', '', 0, 2),
(435, 'icp_url', 'text', 'input', 26, '', 1, '', 0, 0, '\"https:\\/\\/beian.miit.gov.cn\"', 'ICP备案链接', 'H5和PC底部显示的ICP备案号点击跳转的链接', 9, 1),
(436, 'network_security_url', 'text', 'input', 26, '', 1, '', 0, 0, '\"https:\\/\\/www.beian.gov.cn\"', '网安备案链接', 'H5和PC底部显示的网安备案号点击跳转的链接', 7, 1),
(437, 'agent_apply_open', 'radio', 'input', 72, '1=>开启\n0=>关闭', 1, '', 0, 0, '1', '代理商申请开关', '控制移动端我的推广页面的代理商申请按钮是否显示', 0, 1);
diff --git a/template/uni-app/pages/goods/goods_search/index.vue b/template/uni-app/pages/goods/goods_search/index.vue
index cbc446a18..0499f3fbc 100644
--- a/template/uni-app/pages/goods/goods_search/index.vue
+++ b/template/uni-app/pages/goods/goods_search/index.vue
@@ -100,7 +100,11 @@
} else {
this.getHostProduct();
}
-
+ },
+ // 滚动监听
+ onPageScroll(e) {
+ // 传入scrollTop值并触发所有easy-loadimage组件下的滚动监听事件
+ uni.$emit('scroll');
},
methods: {
searchList() {
diff --git a/template/uni-app/pages/users/user_vip/index.vue b/template/uni-app/pages/users/user_vip/index.vue
index c71385f8e..5d56424aa 100644
--- a/template/uni-app/pages/users/user_vip/index.vue
+++ b/template/uni-app/pages/users/user_vip/index.vue
@@ -11,7 +11,7 @@
- {{$t(userInfo.nickname)}}
+ {{$t(userInfo.nickname || '')}}
{{$t(`商城购物可享`)}}{{item.discount}}{{$t(`折`)}}
@@ -22,15 +22,15 @@
- {{$t(`今日成长值`)}}{{levelInfo.today_exp}}{{$t(`点`)}}
+ {{$t(`今日成长值`)}}{{levelInfo.today_exp || ''}}{{$t(`点`)}}
- {{levelInfo.exp}}/{{item.next_exp_num}}
+ {{levelInfo.exp || ''}}/{{item.next_exp_num || ''}}
@@ -49,7 +49,7 @@
{{$t(`当前`)}}{{levelInfo.exp}}{{$t(`点,需达到`)}}{{item.exp_num}}{{$t(`点解锁`)}}
+ class="num">{{$t(`当前`)}}{{levelInfo.exp || ''}}{{$t(`点,需达到`)}}{{item.exp_num || ''}}{{$t(`点解锁`)}}
{{$t(`签到`)}}{{$t(`可获得`)}}{{taskInfo.sign}}{{$t(`点经验`)}}
- {{$t(`每日签到可获得经验值,已签到`)}}{{taskInfo.sign_count}}{{$t(`天`)}}
+ class="mark">{{$t(`可获得`)}}{{taskInfo.sign || ''}}{{$t(`点经验`)}}
+ {{$t(`每日签到可获得经验值,已签到`)}}{{taskInfo.sign_count || ''}}{{$t(`天`)}}
{{$t(`去签到`)}}
@@ -107,7 +107,7 @@
{{$t(`购买商品`)}}+{{taskInfo.order}}{{$t(`点经验/元`)}}
+ class="mark">+{{taskInfo.order || ''}}{{$t(`点经验/元`)}}
{{$t(`购买商品可获得对应的经验值`)}}
{{$t(`邀请好友`)}}+{{taskInfo.invite}}{{$t(`点经验/人`)}}
+ class="mark">+{{taskInfo.invite || ''}}{{$t(`点经验/人`)}}
{{$t(`邀请好友注册商城可获得经验值`)}}