caipin 5 년 전
부모
커밋
0159e02bcf
3개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      protected/controller/InvoiceController.php
  2. 1 1
      protected/controller/ReceiptExtendController.php
  3. 2 0
      protected/model/L_category.php

+ 1 - 1
protected/controller/InvoiceController.php

@@ -84,7 +84,7 @@ class InvoiceController extends DooController {
 				die ( 'illegal request' );
 		}
 		
-		// 主权限获得与判断--2123123
+		// 主权限获得与判断
 		Doo::loadModel ( 'staff' );
 		$staff = new staff ();
 		$detail = $staff->getStaffBySid ( $_COOKIE ["staff"] );

+ 1 - 1
protected/controller/ReceiptExtendController.php

@@ -2703,7 +2703,7 @@ class ReceiptExtendController extends DooController {
     			}
     		}
     		
-    		//print_r($data);
+    		print_r($data);
     	}
     	
     	

+ 2 - 0
protected/model/L_category.php

@@ -19,6 +19,7 @@ class L_category extends DooModel {
 				'asArray' => TRUE 
 		) );
 	}
+	
 	public function getCategoryInCid($cidString = '') {
 		Doo::loadClass ( 'XDeode' );
 		$XDeode = new XDeode ( 5 );
@@ -35,6 +36,7 @@ class L_category extends DooModel {
 		}
 		return $list;
 	}
+	
 	public function getCategoryById($cid = 0, $othercid = "") {
 		if (! empty ( $othercid ))
 			return $this->find ( array (