@@ -1059,7 +1059,7 @@ class Product extends Auth{
$new['stock'] = $old['stock'];
$new['status'] = $old['status'];
$new['min_quota'] = $old['min_quota'];
- $new['quota'] = $old['quota'];
+ $new['quota'] = $old['quota'];
}
$skuList[$newKey] = $new;
@@ -39,5 +39,7 @@ class VerifyCsrfToken extends Middleware
'admin/custom_score/import_execl',
// 微伴积分导入
'admin/custom_score/import_weiban',
+ // SKU组合数据
+ 'admin/product/get_sku_html',
];
@@ -257,7 +257,7 @@ $(function(){
var name = $(this).val();
var formData = $('#add_spec input,select').serialize();
$.ajax({
- type: 'get',
+ type: 'post',
url: "{{url('admin/product/get_sku_html')}}",
data: formData,
success: function(data) {
@@ -381,7 +381,7 @@ $(function(){
url: "{{url('admin/product/get_sku_html?product_id='.$oldData['id'])}}",
@@ -383,7 +383,7 @@ $(function(){