@@ -43,6 +43,14 @@ class PurchaseController extends BaseController
//批量确认 ssh 20240518
public function actionBatchConfirm()
{
+ $post = Yii::$app->request->post();
+ $str = $post['id'] ?? 0;
+ if (empty($str)) {
+ util::fail('没有选择订单');
+ }
+ $arr = json_decode($str, true);
+ print_r($arr);
+ die;
util::complete('确认成功');
}