软路由是否发货
This commit is contained in:
@@ -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 {*}
|
||||
|
||||
Reference in New Issue
Block a user