Skip to content

Commit

Permalink
V1.3.12
Browse files Browse the repository at this point in the history
修复:手机端商品详情页报错
修复:后台编辑商品交互系列问题
  • Loading branch information
wj005 committed Aug 16, 2021
1 parent 0ab8c83 commit b72fcea
Show file tree
Hide file tree
Showing 91 changed files with 508 additions and 28 deletions.
Binary file modified applet/app.zip
Binary file not shown.
11 changes: 5 additions & 6 deletions modules/goods/api/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ public function actionCreate()
"weight" => $g_d['weight'],
"goods_sn" => $g_d['goods_sn'],
];

}
$post['price'] = $price;
$post['stocks'] = $stocks;
Expand Down Expand Up @@ -558,12 +557,12 @@ public function actionCreate()

$o_g_row = [];
$o_g_col = [];
foreach ($post['goods_data'] as $g_d) {
$g_d['goods_id'] = $id;
$g_d['created_time'] = $time;
array_push($o_g_row, array_values($g_d));
foreach ($post['goods_data'] as $g_d2) {
$g_d2['goods_id'] = $id;
$g_d2['created_time'] = $time;
array_push($o_g_row, array_values($g_d2));
if (empty($o_g_col)) {
$o_g_col = array_keys($g_d);
$o_g_col = array_keys($g_d2);
}
}
$g_d_prefix = Yii::$app->db->tablePrefix;
Expand Down
1 change: 1 addition & 0 deletions views/admin/css/chunk-08bf496e.9237dfdb.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions views/admin/css/chunk-31a20bf9.90befbb1.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions views/admin/css/chunk-33a22d6a.017970ee.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b72fcea

Please sign in to comment.