|
@@ -28,7 +28,7 @@ class OrdersReceive extends Api{
|
|
|
// 不存在订单
|
|
|
if( !$orderData ) return json_send(['code'=>'error','msg'=>'您还未下单','data'=>'']);
|
|
|
$receiveInfo = $Model->query()->where([['custom_uid','=',$uid]])->first();
|
|
|
- if ($receiveInfo) return json_send(['code'=>'error','msg'=>'您已领取过了 请耐性等待发货','data'=>'']);
|
|
|
+ if ($receiveInfo) return json_send(['code'=>'error','msg'=>'您已领取过了 请耐心等待发货','data'=>'']);
|
|
|
// 写入领取
|
|
|
$res = $Model->add(['custom_uid'=>$uid,'name'=>'玩具']);
|
|
|
if(!$res) return json_send(['code'=>'error','msg'=>'领取失败','data'=>'']);
|