|
|
@@ -137,7 +137,7 @@ class OrderMain extends Backend |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 添加日志记录 |
|
|
|
* 添加备注记录 |
|
|
|
* @return \think\response\Json |
|
|
|
*/ |
|
|
|
public function addMemo(){ |
|
|
@@ -145,11 +145,14 @@ class OrderMain extends Backend |
|
|
|
$params['create_id']=$this->auth->id; |
|
|
|
$orderMemoDao = new OrderMemoDao(); |
|
|
|
$result = $orderMemoDao->save($params); |
|
|
|
//更新备注 |
|
|
|
$orderMod = new \app\admin\model\OrderMain(); |
|
|
|
$orderMod->save(["order_memo"=>$params["memo"]],["order_id"=>$params["order_id"]]); |
|
|
|
return json($result); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 添加日志记录 |
|
|
|
* 获取备注记录 |
|
|
|
* @return \think\response\Json |
|
|
|
*/ |
|
|
|
public function getMemoList(){ |
|
|
@@ -160,7 +163,7 @@ class OrderMain extends Backend |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 添加日志记录 |
|
|
|
* 设置标记 |
|
|
|
* @return \think\response\Json |
|
|
|
*/ |
|
|
|
public function setHotFlag(){ |
|
|
|