软路由是否发货

This commit is contained in:
“wanyongkang”
2023-07-11 18:13:01 +08:00
parent 6d5ff5a30c
commit e8fcbed5a2

View File

@@ -53,6 +53,22 @@ class Order extends Controller
die;
}
/**
* @description: 修改是否发货
* @param {*}
* @return {*}
*/
public function setIsend() {
$data = json_decode(file_get_contents("php://input"),true);
$order_model = new OrderModel();
$order_model->updateOne(['id' => $data['r']['id']],['is_send' => $data['r']['is_send']]);
$info = [
'Code'=>10000,
];
echo json_encode($info);
die;
}
/**
* @description: 支付宝付款
* @param {*}