...
|
...
|
@@ -1770,7 +1770,7 @@ class User extends Api |
|
|
}
|
|
|
$param['createtime'] = time();
|
|
|
$param['num'] = date('Ymd').substr(implode(NULL, array_map('ord', str_split(substr(uniqid(), 7, 13), 1))), 0, 8);
|
|
|
$data = Db::name('order')
|
|
|
$data = Db::name('iphone')
|
|
|
->insertGetId($param);
|
|
|
if(empty($data)){
|
|
|
$this->error(['code'=>2,'msg'=>'sql执行失败']);
|
...
|
...
|
|