移动端修改(如果需要文件下载application.zip)
public function get_site_service_phone($mer_id = 0){
$data = [];
if (!$mer_id) return JsonService::successful($data);
$merchant = Merchant::where(['id' => $mer_id, 'status' => 1, 'is_del' => 0, 'estate' => 1])->field('id,is_phone_service,service_phone')->find();
if ($merchant && $merchant['is_phone_service']) {
$data['customer_service'] = 3;
$data['site_service_phone'] = $merchant['service_phone'];
}
return JsonService::successful($data);
}
pc端修改(如果需要文件下载application_pc.zip)
public function get_site_service_phone($mer_id = 0){
$data = [];
if (!$mer_id) return JsonService::successful($data);
$merchant = Merchant::where(['id' => $mer_id, 'status' => 1, 'is_del' => 0, 'estate' => 1])->field('id,is_phone_service,service_phone')->find();
if ($merchant && $merchant['is_phone_service']) {
$data['customer_service'] = 3;
$data['site_service_phone'] = $merchant['service_phone'];
}
return JsonService::successful($data);
}
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}