Commit efbb8d39 by mushishixian

fix

parent f91b7f89
<?php <?php
namespace App\Http\Services; namespace App\Http\Services;
//后台用户相关信息服务 //后台用户相关信息服务
...@@ -8,12 +7,9 @@ use App\Http\Controllers\Filter\LogFilter; ...@@ -8,12 +7,9 @@ use App\Http\Controllers\Filter\LogFilter;
use App\Http\Transformers\LogTransformer; use App\Http\Transformers\LogTransformer;
use App\Http\Transformers\SupplierTransformer; use App\Http\Transformers\SupplierTransformer;
use App\Model\LogModel; use App\Model\LogModel;
use App\Model\SupplierChannelModel;
use Illuminate\Support\Facades\DB;
class LogService class LogService
{ {
//添加日志 //添加日志
public function AddLog($supplierId, $type, $action, $content, $remark = '') public function AddLog($supplierId, $type, $action, $content, $remark = '')
{ {
...@@ -123,7 +119,6 @@ class LogService ...@@ -123,7 +119,6 @@ class LogService
$contact = json_decode($contact, true); $contact = json_decode($contact, true);
//更新 //更新
if (!empty($contact['old_contact']) && !empty($contact['new_contact'])) { if (!empty($contact['old_contact']) && !empty($contact['new_contact'])) {
// $diffCols = array_diff($contact['old_contact'], $contact['new_contact']);
$oldContent = $this->contactDesc($contact['old_contact']); $oldContent = $this->contactDesc($contact['old_contact']);
$newContent = $this->contactDesc($contact['new_contact']); $newContent = $this->contactDesc($contact['new_contact']);
return $oldContent . ' 修改为 ' . $newContent; return $oldContent . ' 修改为 ' . $newContent;
......
<?php <?php
namespace App\Http\Services; namespace App\Http\Services;
//价格相关服务 //价格相关服务
use App\Model\RedisModel; class PriceService
use Illuminate\Support\Facades\DB;
//用于判断是否已经查看的服务
class PriceService
{ {
//获取最小阶梯的价格 //获取最小阶梯的价格
public function getMoqPrice($price) public function getMoqPrice($price)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment