|
|
@@ -56,20 +56,20 @@ class ProductController extends Controller
|
|
|
$b['py'] = stringUtil::py($b['name']);
|
|
|
\bizGhs\product\classes\ProductClass::addProduct($b, $shop);
|
|
|
|
|
|
-// $ab = $post;
|
|
|
-// $ab['name'] = $ab['name'] . ' AB级';
|
|
|
-// $ab['py'] = stringUtil::py($ab['name']);
|
|
|
-// \bizGhs\product\classes\ProductClass::addProduct($ab, $shop);
|
|
|
+ $ab = $post;
|
|
|
+ $ab['name'] = $ab['name'] . ' AB级';
|
|
|
+ $ab['py'] = stringUtil::py($ab['name']);
|
|
|
+ \bizGhs\product\classes\ProductClass::addProduct($ab, $shop);
|
|
|
|
|
|
- $c = $post;
|
|
|
- $c['name'] = $c['name'] . ' C级';
|
|
|
- $c['py'] = stringUtil::py($c['name']);
|
|
|
- \bizGhs\product\classes\ProductClass::addProduct($c, $shop);
|
|
|
-
|
|
|
- $d = $post;
|
|
|
- $d['name'] = $d['name'] . ' D级';
|
|
|
- $d['py'] = stringUtil::py($d['name']);
|
|
|
- \bizGhs\product\classes\ProductClass::addProduct($d, $shop);
|
|
|
+// $c = $post;
|
|
|
+// $c['name'] = $c['name'] . ' C级';
|
|
|
+// $c['py'] = stringUtil::py($c['name']);
|
|
|
+// \bizGhs\product\classes\ProductClass::addProduct($c, $shop);
|
|
|
+//
|
|
|
+// $d = $post;
|
|
|
+// $d['name'] = $d['name'] . ' D级';
|
|
|
+// $d['py'] = stringUtil::py($d['name']);
|
|
|
+// \bizGhs\product\classes\ProductClass::addProduct($d, $shop);
|
|
|
|
|
|
// $e = $post;
|
|
|
// $e['name'] = $e['name'] . ' E级';
|