Example #1
0
 public function actionDelallpro()
 {
     $bool = DealergoodsService::deletePro();
     if ($bool) {
         $rs = array('success' => 1, 'errorMsg' => '成功');
     } else {
         $rs = array('success' => 0, 'errorMsg' => '失败');
     }
     echo json_encode($rs);
 }