...
|
...
|
@@ -1859,7 +1859,7 @@ class User extends Api |
|
|
$order_info = Db::name('iphone')->where('id',$data_order)->find();
|
|
|
//用户购买的什么素材
|
|
|
if(empty($order_info['video_id'])){
|
|
|
$pic = Db::name('pic')->where('id',$data['pic_id'])->find();
|
|
|
$pic = Db::name('pic')->where('id',$order_info['pic_id'])->find();
|
|
|
|
|
|
//发送短信,通知客户
|
|
|
$mobile = $user['mobile'];
|
...
|
...
|
@@ -1868,8 +1868,8 @@ class User extends Api |
|
|
|
|
|
$send->sms($mobile,$content);
|
|
|
|
|
|
}elseif (empty($data['pic_id'])){
|
|
|
$video_id = unserialize($data['video_id']);
|
|
|
}elseif (empty($order_info['pic_id'])){
|
|
|
$video_id = unserialize($order_info['video_id']);
|
|
|
$video = Db::name('video')->where('id',$video_id['id'])->find();
|
|
|
//发送短信,通知客户
|
|
|
$mobile = $user['mobile'];
|
...
|
...
|
|