|
@@ -138,17 +138,16 @@ class BillApply extends Controller
|
|
|
$vo['express_company_title'] = $express['express_title'];
|
|
|
$vo['express_send_at'] = empty($order['express_send_at']) ? date('Y-m-d H:i:s') : $order['express_send_at'];
|
|
|
$vo['express_state'] = '1';
|
|
|
+ $vo['bill_time'] = date("Y-m-d H:i:s");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public function billImageSave()
|
|
|
{
|
|
|
- if($this->request->isPost())
|
|
|
- {
|
|
|
+ if($this->request->isPost()) {
|
|
|
$id = input('post.id');
|
|
|
$bill_img = input('post.bill_img');
|
|
|
- var_dump($id,$bill_img);
|
|
|
- \app\common\model\BillApply::where('id',$id)->update(['bill_img'=>$bill_img]);
|
|
|
+ \app\common\model\BillApply::where('id',$id)->update(['bill_img'=>$bill_img,'bill_time'=>date("Y-m-d H:i:s")]);
|
|
|
$this->success('保存成功');
|
|
|
}
|
|
|
}
|