Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into bate
正在显示
17 个修改的文件
包含
92 行增加
和
19 行删除
| @@ -33,7 +33,7 @@ class UpgradeProjectCount extends Command | @@ -33,7 +33,7 @@ class UpgradeProjectCount extends Command | ||
| 33 | protected $description = '升级项目统计'; | 33 | protected $description = '升级项目统计'; |
| 34 | 34 | ||
| 35 | public function handle(){ | 35 | public function handle(){ |
| 36 | - $project_id = 769; | 36 | + $project_id = 528; |
| 37 | ProjectServer::useProject($project_id); | 37 | ProjectServer::useProject($project_id); |
| 38 | $this->count($project_id); | 38 | $this->count($project_id); |
| 39 | DB::disconnect('custom_mysql'); | 39 | DB::disconnect('custom_mysql'); |
| @@ -36,7 +36,7 @@ class UpgradeProjectCount extends Command | @@ -36,7 +36,7 @@ class UpgradeProjectCount extends Command | ||
| 36 | protected $description = '升级项目统计'; | 36 | protected $description = '升级项目统计'; |
| 37 | 37 | ||
| 38 | public function handle(){ | 38 | public function handle(){ |
| 39 | - $project_id = 769; | 39 | + $project_id = 528; |
| 40 | $oldModel = new UpdateOldInfo(); | 40 | $oldModel = new UpdateOldInfo(); |
| 41 | $info = $oldModel->read(['project_id'=>$project_id]); | 41 | $info = $oldModel->read(['project_id'=>$project_id]); |
| 42 | $url = $info['old_domain_online']; | 42 | $url = $info['old_domain_online']; |
| @@ -50,7 +50,7 @@ class UpdateProductCategory extends Command | @@ -50,7 +50,7 @@ class UpdateProductCategory extends Command | ||
| 50 | public function handle(){ | 50 | public function handle(){ |
| 51 | //获取所有项目 | 51 | //获取所有项目 |
| 52 | $projectModel = new Project(); | 52 | $projectModel = new Project(); |
| 53 | - $list = $projectModel->list(['id'=>['in',[475]]],'id',['id']); | 53 | + $list = $projectModel->list(['id'=>['in',[302]]],'id',['id']); |
| 54 | echo date('Y-m-d H:i:s') . ' start: ' . json_encode($list) . PHP_EOL; | 54 | echo date('Y-m-d H:i:s') . ' start: ' . json_encode($list) . PHP_EOL; |
| 55 | try { | 55 | try { |
| 56 | foreach ($list as $v) { | 56 | foreach ($list as $v) { |
| @@ -27,8 +27,6 @@ class ATemplateModuleController extends BaseController | @@ -27,8 +27,6 @@ class ATemplateModuleController extends BaseController | ||
| 27 | public function lists(ATemplateModuleLogic $ATemplateModuleLogic){ | 27 | public function lists(ATemplateModuleLogic $ATemplateModuleLogic){ |
| 28 | if(isset($this->map['type']) && ($this->map['type'] == 99)){ | 28 | if(isset($this->map['type']) && ($this->map['type'] == 99)){ |
| 29 | $this->map['type'] = 99; | 29 | $this->map['type'] = 99; |
| 30 | - }else{ | ||
| 31 | - $this->map['project_id'] = 0; | ||
| 32 | } | 30 | } |
| 33 | $lists = $ATemplateModuleLogic->aTemplateModuleLists($this->map,$this->page,$this->row,$this->order); | 31 | $lists = $ATemplateModuleLogic->aTemplateModuleLists($this->map,$this->page,$this->row,$this->order); |
| 34 | $this->response('success',Code::SUCCESS,$lists); | 32 | $this->response('success',Code::SUCCESS,$lists); |
| @@ -135,7 +135,10 @@ class KeywordController extends BaseController | @@ -135,7 +135,10 @@ class KeywordController extends BaseController | ||
| 135 | 'title.array' => 'title为数组', | 135 | 'title.array' => 'title为数组', |
| 136 | 'title.max' => '批量操作不能超过1000条数据' | 136 | 'title.max' => '批量操作不能超过1000条数据' |
| 137 | ]); | 137 | ]); |
| 138 | - $logic->batchAdd(); | 138 | + $rs = $logic->batchAdd(); |
| 139 | + if($rs === false){ | ||
| 140 | + $this->response('创建任务添加关键词任务失败,请稍后重试!',Code::SYSTEM_ERROR); | ||
| 141 | + } | ||
| 139 | $this->response('关键词后台异步添加中,请稍后刷新查看!'); | 142 | $this->response('关键词后台异步添加中,请稍后刷新查看!'); |
| 140 | } | 143 | } |
| 141 | 144 |
| @@ -20,6 +20,7 @@ use App\Models\Product\Product; | @@ -20,6 +20,7 @@ use App\Models\Product\Product; | ||
| 20 | use App\Models\Template\Setting; | 20 | use App\Models\Template\Setting; |
| 21 | use App\Models\Template\BTemplate; | 21 | use App\Models\Template\BTemplate; |
| 22 | use App\Models\User\User; | 22 | use App\Models\User\User; |
| 23 | +use App\Models\WebSetting\SettingNum; | ||
| 23 | use App\Rules\Ids; | 24 | use App\Rules\Ids; |
| 24 | use Illuminate\Http\Request; | 25 | use Illuminate\Http\Request; |
| 25 | use Illuminate\Support\Facades\Cache; | 26 | use Illuminate\Support\Facades\Cache; |
| @@ -468,4 +469,51 @@ class ProductController extends BaseController | @@ -468,4 +469,51 @@ class ProductController extends BaseController | ||
| 468 | $logic->setAllSort(); | 469 | $logic->setAllSort(); |
| 469 | $this->response('success'); | 470 | $this->response('success'); |
| 470 | } | 471 | } |
| 472 | + | ||
| 473 | + /** | ||
| 474 | + * @remark :设置产品排序 | ||
| 475 | + * @name :setProductSort | ||
| 476 | + * @author :lyh | ||
| 477 | + * @method :post | ||
| 478 | + * @time :2024/1/31 10:14 | ||
| 479 | + */ | ||
| 480 | + public function setProductSort(){ | ||
| 481 | + $setNumModel = new SettingNum(); | ||
| 482 | + try { | ||
| 483 | + if(isset($this->param['id']) && !empty($this->param['id'])){ | ||
| 484 | + //执行编辑 | ||
| 485 | + $param = [ | ||
| 486 | + 'data'=>json_encode($this->param['data']), | ||
| 487 | + ]; | ||
| 488 | + $setNumModel->edit($param,['id'=>$this->param['id']]); | ||
| 489 | + }else{ | ||
| 490 | + //执行新增 | ||
| 491 | + $param = [ | ||
| 492 | + 'type'=>$setNumModel::TYPE_PRODUCT_SORT, | ||
| 493 | + 'project_id'=>$this->user['project_id'], | ||
| 494 | + 'data'=>json_encode($this->param['data']), | ||
| 495 | + ]; | ||
| 496 | + $setNumModel->add($param); | ||
| 497 | + } | ||
| 498 | + }catch (\Exception $e){ | ||
| 499 | + $this->fail('系统错误,请联系管理员'); | ||
| 500 | + } | ||
| 501 | + $this->response('success'); | ||
| 502 | + } | ||
| 503 | + | ||
| 504 | + /** | ||
| 505 | + * @remark :获取产品排序 | ||
| 506 | + * @name :getProductSort | ||
| 507 | + * @author :lyh | ||
| 508 | + * @method :post | ||
| 509 | + * @time :2024/1/31 10:24 | ||
| 510 | + */ | ||
| 511 | + public function getProductSort(){ | ||
| 512 | + $setNumModel = new SettingNum(); | ||
| 513 | + $info = $setNumModel->read(['type'=>$setNumModel::TYPE_PRODUCT_SORT]); | ||
| 514 | + if($info === false){ | ||
| 515 | + $info = []; | ||
| 516 | + } | ||
| 517 | + $this->response('success',Code::SUCCESS,$info); | ||
| 518 | + } | ||
| 471 | } | 519 | } |
| @@ -46,9 +46,16 @@ class OnlineCheckLogic extends BaseLogic | @@ -46,9 +46,16 @@ class OnlineCheckLogic extends BaseLogic | ||
| 46 | if(($info['qa_mid'] != 0) && ($info['qa_mid'] != $this->manager['id'])){ | 46 | if(($info['qa_mid'] != 0) && ($info['qa_mid'] != $this->manager['id'])){ |
| 47 | $this->fail('你无权限提交审核'); | 47 | $this->fail('你无权限提交审核'); |
| 48 | } | 48 | } |
| 49 | - if(isset($this->param['project_type']) && !empty($this->param['project_type'])){ | ||
| 50 | $projectModel = new Project(); | 49 | $projectModel = new Project(); |
| 51 | - $projectModel->edit(['type'=>$this->param['project_type']],['id'=>$this->param['id']]); | 50 | + $projectInfo = $projectModel->read(['id'=>$this->param['id']]); |
| 51 | + if(!empty($projectInfo['uptime'])){ | ||
| 52 | + $param['uptime'] = date('Y-m-d H:i:s'); | ||
| 53 | + } | ||
| 54 | + if(isset($this->param['project_type']) && !empty($this->param['project_type'])){ | ||
| 55 | + $param['type'] = $this->param['project_type']; | ||
| 56 | + } | ||
| 57 | + if(isset($param)){ | ||
| 58 | + $projectModel->edit($param,['id'=>$this->param['id']]); | ||
| 52 | } | 59 | } |
| 53 | } | 60 | } |
| 54 | $data = [ | 61 | $data = [ |
| @@ -65,7 +65,11 @@ class CustomTemplateLogic extends BaseLogic | @@ -65,7 +65,11 @@ class CustomTemplateLogic extends BaseLogic | ||
| 65 | public function customTemplateSave(){ | 65 | public function customTemplateSave(){ |
| 66 | $this->param['url'] = str_replace_url($this->param['url']); | 66 | $this->param['url'] = str_replace_url($this->param['url']); |
| 67 | if(isset($this->param['id']) && !empty($this->param['id'])){ | 67 | if(isset($this->param['id']) && !empty($this->param['id'])){ |
| 68 | + $is_upgrade = $this->param['is_upgrade'] ?? 0;//1:5.0数据 0:6.0 | ||
| 69 | + $six_read = $this->param['six_read'] ?? 0;//5.0数据时,是否按6.0显示 | ||
| 70 | + if($is_upgrade == 0 || $six_read == 1) { | ||
| 68 | $this->param['url'] = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_PAGE, $this->param['id'], $this->user['project_id']); | 71 | $this->param['url'] = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_PAGE, $this->param['id'], $this->user['project_id']); |
| 72 | + } | ||
| 69 | $this->editCustomRoute($this->param['url']); | 73 | $this->editCustomRoute($this->param['url']); |
| 70 | $rs = $this->model->edit($this->param,['id'=>$this->param['id']]); | 74 | $rs = $this->model->edit($this->param,['id'=>$this->param['id']]); |
| 71 | }else{ | 75 | }else{ |
| @@ -34,7 +34,7 @@ class BlogLogic extends BaseLogic | @@ -34,7 +34,7 @@ class BlogLogic extends BaseLogic | ||
| 34 | try { | 34 | try { |
| 35 | $this->param = $this->paramProcessing($this->param); | 35 | $this->param = $this->paramProcessing($this->param); |
| 36 | if(isset($this->param['id']) && !empty($this->param['id'])){ | 36 | if(isset($this->param['id']) && !empty($this->param['id'])){ |
| 37 | - $is_upgrade = $this->param['is_upgrade'] ?? 0;//5.0数据 1:6.0 | 37 | + $is_upgrade = $this->param['is_upgrade'] ?? 0;//1:5.0数据 0:6.0 |
| 38 | $six_read = $this->param['six_read'] ?? 0;//是否按6.0显示 | 38 | $six_read = $this->param['six_read'] ?? 0;//是否按6.0显示 |
| 39 | if($is_upgrade == 0 || $six_read == 1){ | 39 | if($is_upgrade == 0 || $six_read == 1){ |
| 40 | $this->param['url'] = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_BLOG, $this->param['id'], $this->user['project_id']); | 40 | $this->param['url'] = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_BLOG, $this->param['id'], $this->user['project_id']); |
| @@ -199,7 +199,7 @@ class BlogLogic extends BaseLogic | @@ -199,7 +199,7 @@ class BlogLogic extends BaseLogic | ||
| 199 | foreach ($category as $v){ | 199 | foreach ($category as $v){ |
| 200 | $str .= $v.','; | 200 | $str .= $v.','; |
| 201 | } | 201 | } |
| 202 | - return !empty($str) ? ','.$str : ''; | 202 | + return !empty(trim($str,',')) ? ','.$str.',' : ''; |
| 203 | } | 203 | } |
| 204 | 204 | ||
| 205 | /** | 205 | /** |
| @@ -64,7 +64,7 @@ class NewsLogic extends BaseLogic | @@ -64,7 +64,7 @@ class NewsLogic extends BaseLogic | ||
| 64 | try { | 64 | try { |
| 65 | $this->param = $this->paramProcessing($this->param); | 65 | $this->param = $this->paramProcessing($this->param); |
| 66 | if (isset($this->param['id']) && !empty($this->param['id'])) { | 66 | if (isset($this->param['id']) && !empty($this->param['id'])) { |
| 67 | - $is_upgrade = $this->param['is_upgrade'] ?? 0;//5.0数据 1:6.0 | 67 | + $is_upgrade = $this->param['is_upgrade'] ?? 0;//1:5.0数据 0:6.0 |
| 68 | $six_read = $this->param['six_read'] ?? 0;//是否按6.0显示 | 68 | $six_read = $this->param['six_read'] ?? 0;//是否按6.0显示 |
| 69 | if($is_upgrade == 0 || $six_read == 1) { | 69 | if($is_upgrade == 0 || $six_read == 1) { |
| 70 | $this->param['url'] = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_NEWS, $this->param['id'], $this->user['project_id']); | 70 | $this->param['url'] = RouteMap::setRoute($this->param['url'], RouteMap::SOURCE_NEWS, $this->param['id'], $this->user['project_id']); |
| @@ -217,7 +217,7 @@ class NewsLogic extends BaseLogic | @@ -217,7 +217,7 @@ class NewsLogic extends BaseLogic | ||
| 217 | foreach ($category as $v){ | 217 | foreach ($category as $v){ |
| 218 | $str .= $v.','; | 218 | $str .= $v.','; |
| 219 | } | 219 | } |
| 220 | - return !empty($str) ? ','.$str : ''; | 220 | + return !empty(trim($str,',')) ? ','.$str.',' : ''; |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | /** | 223 | /** |
| @@ -248,7 +248,7 @@ class CategoryLogic extends BaseLogic | @@ -248,7 +248,7 @@ class CategoryLogic extends BaseLogic | ||
| 248 | $str .= $v.','; | 248 | $str .= $v.','; |
| 249 | } | 249 | } |
| 250 | } | 250 | } |
| 251 | - return !empty($str) ? ','.$str : ''; | 251 | + return !empty(trim($str,',')) ? ','.$str.',' : ''; |
| 252 | } | 252 | } |
| 253 | 253 | ||
| 254 | /** | 254 | /** |
| @@ -145,10 +145,10 @@ class KeywordLogic extends BaseLogic | @@ -145,10 +145,10 @@ class KeywordLogic extends BaseLogic | ||
| 145 | $this->model->insertGetId($param); | 145 | $this->model->insertGetId($param); |
| 146 | } | 146 | } |
| 147 | } | 147 | } |
| 148 | - NoticeLog::createLog(NoticeLog::TYPE_INIT_KEYWORD, ['project_id' => $this->user['project_id']]); | ||
| 149 | }catch (\Exception $e){ | 148 | }catch (\Exception $e){ |
| 150 | - $this->fail('创建任务添加关键词任务失败,请稍后重试!'); | 149 | + return false; |
| 151 | } | 150 | } |
| 151 | + NoticeLog::createLog(NoticeLog::TYPE_INIT_KEYWORD, ['project_id' => $this->user['project_id']]); | ||
| 152 | return $this->success(); | 152 | return $this->success(); |
| 153 | } | 153 | } |
| 154 | 154 |
| @@ -46,7 +46,7 @@ class ProductLogic extends BaseLogic | @@ -46,7 +46,7 @@ class ProductLogic extends BaseLogic | ||
| 46 | $this->param = $this->handleSaveParam($this->param); | 46 | $this->param = $this->handleSaveParam($this->param); |
| 47 | try { | 47 | try { |
| 48 | if(isset($this->param['id']) && !empty($this->param['id'])){ | 48 | if(isset($this->param['id']) && !empty($this->param['id'])){ |
| 49 | - $is_upgrade = $this->param['is_upgrade'] ?? 0;//5.0数据 1:6.0数据 | 49 | + $is_upgrade = $this->param['is_upgrade'] ?? 0;//1:5.0数据 0:6.0 |
| 50 | $six_read = $this->param['six_read'] ?? 0;//是否按6.0显示 | 50 | $six_read = $this->param['six_read'] ?? 0;//是否按6.0显示 |
| 51 | if($is_upgrade == 0 || $six_read == 1){ | 51 | if($is_upgrade == 0 || $six_read == 1){ |
| 52 | $this->param['route'] = RouteMap::setRoute($this->param['route'], RouteMap::SOURCE_PRODUCT, $this->param['id'], $this->user['project_id']); | 52 | $this->param['route'] = RouteMap::setRoute($this->param['route'], RouteMap::SOURCE_PRODUCT, $this->param['id'], $this->user['project_id']); |
| @@ -197,6 +197,7 @@ class ProductLogic extends BaseLogic | @@ -197,6 +197,7 @@ class ProductLogic extends BaseLogic | ||
| 197 | * @time :2023/10/26 9:49 | 197 | * @time :2023/10/26 9:49 |
| 198 | */ | 198 | */ |
| 199 | public function editList(){ | 199 | public function editList(){ |
| 200 | + $category_ids = $this->param['category_id']; | ||
| 200 | $this->param['category_id'] = $this->handleListCategory($this->param['category_id']); | 201 | $this->param['category_id'] = $this->handleListCategory($this->param['category_id']); |
| 201 | $this->param['keyword_id'] = $this->saveKeyword($this->param['keyword_id']); | 202 | $this->param['keyword_id'] = $this->saveKeyword($this->param['keyword_id']); |
| 202 | if(isset($this->param['gallery']) && !empty($this->param['gallery'])){ | 203 | if(isset($this->param['gallery']) && !empty($this->param['gallery'])){ |
| @@ -215,6 +216,8 @@ class ProductLogic extends BaseLogic | @@ -215,6 +216,8 @@ class ProductLogic extends BaseLogic | ||
| 215 | $this->editProductRoute($this->param['id'],$this->param['route']); | 216 | $this->editProductRoute($this->param['id'],$this->param['route']); |
| 216 | } | 217 | } |
| 217 | $this->model->edit($this->param,['id'=>$this->param['id']]); | 218 | $this->model->edit($this->param,['id'=>$this->param['id']]); |
| 219 | + //产品分类关联 | ||
| 220 | + CategoryRelated::saveRelated($this->param['id'], $category_ids); | ||
| 218 | }catch (\Exception $e){ | 221 | }catch (\Exception $e){ |
| 219 | $this->fail('系统错误,请连续管理员'); | 222 | $this->fail('系统错误,请连续管理员'); |
| 220 | } | 223 | } |
| @@ -317,7 +320,7 @@ class ProductLogic extends BaseLogic | @@ -317,7 +320,7 @@ class ProductLogic extends BaseLogic | ||
| 317 | $str .= $v.','; | 320 | $str .= $v.','; |
| 318 | } | 321 | } |
| 319 | } | 322 | } |
| 320 | - return !empty($str) ? ','.$str : ''; | 323 | + return !empty(trim($str,',')) ? ','.$str.',' : ''; |
| 321 | } | 324 | } |
| 322 | 325 | ||
| 323 | /** | 326 | /** |
| @@ -5,6 +5,7 @@ namespace App\Models\Inquiry; | @@ -5,6 +5,7 @@ namespace App\Models\Inquiry; | ||
| 5 | use App\Models\Base; | 5 | use App\Models\Base; |
| 6 | use Illuminate\Database\Eloquent\SoftDeletes; | 6 | use Illuminate\Database\Eloquent\SoftDeletes; |
| 7 | use Illuminate\Support\Facades\Cache; | 7 | use Illuminate\Support\Facades\Cache; |
| 8 | +use Illuminate\Support\Str; | ||
| 8 | 9 | ||
| 9 | /** | 10 | /** |
| 10 | * Class InquiryForm | 11 | * Class InquiryForm |
| @@ -36,10 +37,11 @@ class InquiryForm extends Base | @@ -36,10 +37,11 @@ class InquiryForm extends Base | ||
| 36 | 'phone' => '电话', | 37 | 'phone' => '电话', |
| 37 | 'mobile' => '电话', | 38 | 'mobile' => '电话', |
| 38 | 'message' => '询盘内容', | 39 | 'message' => '询盘内容', |
| 39 | - 'company' => '公司名称' | 40 | + 'company' => '公司名称', |
| 41 | + 'file' => '文件' | ||
| 40 | ]; | 42 | ]; |
| 41 | if($field){ | 43 | if($field){ |
| 42 | - return $map[$field] ?? $field; | 44 | + return $map[Str::lower($field)] ?? Str::studly($field); |
| 43 | } | 45 | } |
| 44 | return $map; | 46 | return $map; |
| 45 | } | 47 | } |
| @@ -70,6 +72,7 @@ class InquiryForm extends Base | @@ -70,6 +72,7 @@ class InquiryForm extends Base | ||
| 70 | unset($data['globalso-domain']); | 72 | unset($data['globalso-domain']); |
| 71 | unset($data['globalso-edition']); | 73 | unset($data['globalso-edition']); |
| 72 | unset($data['globalso-date']); | 74 | unset($data['globalso-date']); |
| 75 | + | ||
| 73 | ksort($data); | 76 | ksort($data); |
| 74 | $field = array_keys($data); | 77 | $field = array_keys($data); |
| 75 | $sign = md5(json_encode($field)); | 78 | $sign = md5(json_encode($field)); |
| @@ -20,6 +20,8 @@ use App\Models\Base; | @@ -20,6 +20,8 @@ use App\Models\Base; | ||
| 20 | */ | 20 | */ |
| 21 | class SettingNum extends Base | 21 | class SettingNum extends Base |
| 22 | { | 22 | { |
| 23 | + const TYPE_PRODUCT_SORT = 10;//c端显示排序 | ||
| 24 | + | ||
| 23 | protected $table = 'gl_setting_num'; | 25 | protected $table = 'gl_setting_num'; |
| 24 | //连接数据库 | 26 | //连接数据库 |
| 25 | protected $connection = 'custom_mysql'; | 27 | protected $connection = 'custom_mysql'; |
| @@ -70,6 +70,9 @@ class SyncSubmitTaskService | @@ -70,6 +70,9 @@ class SyncSubmitTaskService | ||
| 70 | 70 | ||
| 71 | $this->inquiryFilter($data['project_id'], $data); | 71 | $this->inquiryFilter($data['project_id'], $data); |
| 72 | 72 | ||
| 73 | + //数组key转为小写 | ||
| 74 | + $data['data'] = array_change_key_case($data['data'], CASE_LOWER); | ||
| 75 | + | ||
| 73 | $form_id = InquiryForm::getFromId($data['data']); | 76 | $form_id = InquiryForm::getFromId($data['data']); |
| 74 | 77 | ||
| 75 | InquiryFormData::saveData($form_id, $data['domain'], $data['ip'], $data['country'], $data['referer'], $data['user_agent'], $data['submit_at'], $data['data']); | 78 | InquiryFormData::saveData($form_id, $data['domain'], $data['ip'], $data['country'], $data['referer'], $data['user_agent'], $data['submit_at'], $data['data']); |
| @@ -223,6 +223,8 @@ Route::middleware(['bloginauth'])->group(function () { | @@ -223,6 +223,8 @@ Route::middleware(['bloginauth'])->group(function () { | ||
| 223 | Route::post('/editList', [\App\Http\Controllers\Bside\Product\ProductController::class, 'editList'])->name('product_editList'); | 223 | Route::post('/editList', [\App\Http\Controllers\Bside\Product\ProductController::class, 'editList'])->name('product_editList'); |
| 224 | Route::post('/sort', [\App\Http\Controllers\Bside\Product\ProductController::class, 'sort'])->name('product_sort'); | 224 | Route::post('/sort', [\App\Http\Controllers\Bside\Product\ProductController::class, 'sort'])->name('product_sort'); |
| 225 | Route::post('/allSort', [\App\Http\Controllers\Bside\Product\ProductController::class, 'allSort'])->name('product_allSort'); | 225 | Route::post('/allSort', [\App\Http\Controllers\Bside\Product\ProductController::class, 'allSort'])->name('product_allSort'); |
| 226 | + Route::post('/setProductSort', [\App\Http\Controllers\Bside\Product\ProductController::class, 'setProductSort'])->name('product_setProductSort'); | ||
| 227 | + Route::post('/getProductSort', [\App\Http\Controllers\Bside\Product\ProductController::class, 'getProductSort'])->name('product_getProductSort'); | ||
| 226 | Route::any('/delete', [\App\Http\Controllers\Bside\Product\ProductController::class, 'delete'])->name('product_delete'); | 228 | Route::any('/delete', [\App\Http\Controllers\Bside\Product\ProductController::class, 'delete'])->name('product_delete'); |
| 227 | Route::any('/statusNum', [\App\Http\Controllers\Bside\Product\ProductController::class, 'getStatusNumber'])->name('product_statusNum'); | 229 | Route::any('/statusNum', [\App\Http\Controllers\Bside\Product\ProductController::class, 'getStatusNumber'])->name('product_statusNum'); |
| 228 | Route::any('/copyProduct', [\App\Http\Controllers\Bside\Product\ProductController::class, 'copyProduct'])->name('product_copyProduct'); | 230 | Route::any('/copyProduct', [\App\Http\Controllers\Bside\Product\ProductController::class, 'copyProduct'])->name('product_copyProduct'); |
-
请 注册 或 登录 后发表评论