...
|
...
|
@@ -82,9 +82,6 @@ class AdminOrderController extends AdminBaseController |
|
|
// 聘用信息审核
|
|
|
public function operation(){
|
|
|
$data = $this->request->param();
|
|
|
echo "<pre/>";
|
|
|
print_r($data);
|
|
|
die;
|
|
|
Db::startTrans();
|
|
|
// 拒绝
|
|
|
if($data['type'] == 4){
|
...
|
...
|
@@ -100,7 +97,7 @@ class AdminOrderController extends AdminBaseController |
|
|
$add_log['content'] = $data['refund'];
|
|
|
$add_log['create_time'] = time();
|
|
|
$add_log['update_time'] = time();
|
|
|
$res_refund = Db::name('Refund')->where($add_log)->insertGetId($add_log);
|
|
|
$res_refund = Db::name('Refund')->insertGetId($add_log);
|
|
|
if(!$res_refund){
|
|
|
Db::rollback();
|
|
|
$this->apiResponse('0','操作失败');
|
...
|
...
|
|