Commit e5a2232e by 叶明星

去掉断点

parent c212776b
Showing with 0 additions and 3 deletions
...@@ -9,12 +9,10 @@ use App\Model\SelfGoodsModel; ...@@ -9,12 +9,10 @@ use App\Model\SelfGoodsModel;
use App\Model\SkuModel; use App\Model\SkuModel;
use App\Model\SpuModel; use App\Model\SpuModel;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
class ServicesController extends Controller class ServicesController extends Controller
{ {
public function synchronization(){ public function synchronization(){
Log::info(microtime(true));
$collert=TrimX(['goods_id','power'], false); $collert=TrimX(['goods_id','power'], false);
if(empty($collert['goods_id'])) return $this->Export($this->ProduceErrcode(001,1),'没有SKUID'); if(empty($collert['goods_id'])) return $this->Export($this->ProduceErrcode(001,1),'没有SKUID');
if(empty($collert['power'])) if(empty($collert['power']))
...@@ -34,7 +32,6 @@ class ServicesController extends Controller ...@@ -34,7 +32,6 @@ class ServicesController extends Controller
$data[$SkuId]=false; $data[$SkuId]=false;
$data[$SkuId]=$GoodsModel->WebSelfGoodsDetail($SkuId, $collert['power'], $Redis); $data[$SkuId]=$GoodsModel->WebSelfGoodsDetail($SkuId, $collert['power'], $Redis);
} }
Log::info(microtime(true));
return $this->Export(0,'success',['data'=>$data]); return $this->Export(0,'success',['data'=>$data]);
} }
......
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