|
|
@@ -35,6 +35,8 @@ class MtController extends PublicController
|
|
|
//订单完成 ssh 20220928
|
|
|
public function actionFinishOrder()
|
|
|
{
|
|
|
+ return Json::encode(['data' => 'ok']);
|
|
|
+
|
|
|
//error_reporting(E_ALL);
|
|
|
$post = Yii::$app->request->post();
|
|
|
$mtOrderId = $post['order_id'] ?? 0;
|
|
|
@@ -107,6 +109,8 @@ class MtController extends PublicController
|
|
|
|
|
|
public function actionGoodsAdd()
|
|
|
{
|
|
|
+ return Json::encode(['data' => 'ok']);
|
|
|
+
|
|
|
$post = Yii::$app->request->post();
|
|
|
$connection = Yii::$app->db;//事务处理
|
|
|
$transaction = $connection->beginTransaction();
|
|
|
@@ -234,6 +238,8 @@ class MtController extends PublicController
|
|
|
//删除商品 ssh 20220914
|
|
|
public function actionGoodsDel()
|
|
|
{
|
|
|
+ return Json::encode(['data' => 'ok']);
|
|
|
+
|
|
|
$post = Yii::$app->request->post();
|
|
|
if (isset($post['retail_data']) == false) {
|
|
|
//noticeUtil::push("美团删除商品,通知我们时出错了,没有获取到相应信息", '15280215347');
|
|
|
@@ -284,6 +290,8 @@ class MtController extends PublicController
|
|
|
//修改商品 ssh 20220914
|
|
|
public function actionGoodsUpdate()
|
|
|
{
|
|
|
+ return Json::encode(['data' => 'ok']);
|
|
|
+
|
|
|
$post = Yii::$app->request->post();
|
|
|
$connection = Yii::$app->db;//事务处理
|
|
|
$transaction = $connection->beginTransaction();
|
|
|
@@ -401,6 +409,9 @@ class MtController extends PublicController
|
|
|
//已确认订单通知
|
|
|
public function actionConfirmOrder()
|
|
|
{
|
|
|
+
|
|
|
+ return Json::encode(['data' => 'ok']);
|
|
|
+
|
|
|
//error_reporting(E_ALL);
|
|
|
$post = Yii::$app->request->post();
|
|
|
$mtOrderId = $post['order_id'] ?? 0;
|
|
|
@@ -586,6 +597,9 @@ class MtController extends PublicController
|
|
|
//取消订单
|
|
|
public function actionCancelOrder()
|
|
|
{
|
|
|
+
|
|
|
+ return Json::encode(['data' => 'ok']);
|
|
|
+
|
|
|
$post = Yii::$app->request->post();
|
|
|
$mtOrderId = $post['order_id'] ?? 0;
|
|
|
$shopId = $post['app_poi_code'] ?? '';
|