Esempio n. 1
0
 public function actionUpdatemongodb()
 {
     $type = Yii::app()->request->getParam('type');
     //        //修改商品版本数据
     if ($type == 1) {
         DealergoodsService::UpdateMdbgoodsversion();
     }
     //        //修改商品日志数据
     if ($type == 2) {
         DealergoodsService::UpdateMdbgoodslog();
     }
     if ($type == 3) {
         //        //修改车系版本数据
         DealergoodsService::UpdateMdbvehcleversion();
     }
     if ($type == 4) {
         //        //修改商品日志数据
         DealergoodsService::UpdateMdbvehclelog();
     }
 }