作者 董瑞恩
1 个管道 的构建 通过 耗费 1 秒

order

... ... @@ -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
... ...