...
|
...
|
@@ -28,13 +28,15 @@ class OrderController extends HomeBaseController{ |
|
|
* @method GET
|
|
|
*
|
|
|
* @param name:users_id type:String require:1 default:无 other: desc:用户id
|
|
|
*
|
|
|
* @param name:mac_address type:String require:1 default:无 other: desc:设备Mac地址
|
|
|
*
|
|
|
*/
|
|
|
public function createOrder(){
|
|
|
$users_id=$this->request->param('users_id');
|
|
|
$mac_address=$this->request->param('mac_address');
|
|
|
$order=[
|
|
|
'order_no' => cmf_get_order_sn(),
|
|
|
'mac_address' => $mac_address,
|
|
|
'users_id' => $users_id,
|
|
|
'start_time' => time(),
|
|
|
'state' => 1
|
...
|
...
|
|