提交 869a02ce authored 作者: 窦斌's avatar 窦斌

edit

上级 2a09ac79
...@@ -392,6 +392,355 @@ class SynJdPopDataController extends BaseController ...@@ -392,6 +392,355 @@ class SynJdPopDataController extends BaseController
} }
} }
/**|---------------------------------------------------------------------------------
* @name 添加订单
* @param string ju_ordernum 订单单号
* @retrun \Illuminate\Http\JsonResponse /multitype:array
* @author dou 2026/5/13 15:55
* |---------------------------------------------------------------------------------
*/
public function addPopOrder ( Request $request ){
if (!$request->filled('data') || !$request->filled('pt_id')) {
return $this->error('参数错误', 3);
}
$input = $request->all();
$data = $input['data'];
$pt_id = $input['pt_id'];
$jdpop_token = DB::table('jdpop_token')->where("pt_id",$pt_id)->first();
$poss['appKey'] = $jdpop_token['app_key'];
$poss['accessToken'] = $jdpop_token['access_token'];
$poss['appSecret'] = $jdpop_token['app_secret'];
$poss['orderType'] = 'POP';
$poss['appName'] = $jdpop_token['appName'];
$jdpop_token['app_key'] = '2B4864F0F91763C3289900AF897FE472';
$jdpop_token['access_token'] = '7343b81d21fd4c19a3a311d609af113dm0m2';
$jdpop_token['app_secret'] = '2afbe181f6094a1da197fa7209b1ffbf';
$jdpop_token['appName'] = '京电号全国智能派单系统';
$jdpop_token['pt_id'] = '2';
$jdpop_token['store_name'] = '10276497的店铺';
if(empty($jdpop_token)){
return $this->error('平台数据异常', 2);
// return $this->success('操作成功', $list);
}
$data = json_decode($data,true);
if($data['jingdong_pop_order_enSearch_responce']['code']==0){
$company_id = Pt::where("id",$jdpop_token['pt_id'])->value('company_id');
$order_data = $data['jingdong_pop_order_enSearch_responce']['searchorderinfo_result']['orderInfoList'];
if(!empty($order_data)){
$arr_goods = [];
$arr = [];
$num = 0;
foreach($order_data as $ksa => $vsa){
if(!empty($vsa['consigneeInfo']['oaid'])) {
$orderInfos[$num]['orderId'] = $vsa['orderId'];
$orderInfos[$num]['oaid'] = $vsa['consigneeInfo']['oaid'];
$num++;
}
}
if(!empty($orderInfos)){
$poss['appKey'] = $jdpop_token['app_key'];
$poss['accessToken'] = $jdpop_token['access_token'];
$poss['appSecret'] = $jdpop_token['app_secret'];
$poss['orderType'] = 'POP';
$poss['appName'] = $jdpop_token['appName'];
$poss['orderInfos'] = json_encode($orderInfos);
$user_data=$this->https_request('http://116.196.75.172/index.php/GetUserDataApi/getOaidDecrypt',$poss);
$user_data = json_decode($user_data,true);
if($user_data['jingdong_jos_order_oaid_decrypt_responce']['returnType']['code']==200){
$user_data = $user_data['jingdong_jos_order_oaid_decrypt_responce']['returnType']['data'];
$user_datas = [];
foreach($user_data as $ks => $vs){
$user_datas[$vs['orderId']] = $vs;
}
if(!empty($user_datas)){
foreach($order_data as $ka => $va){
$order_data[$ka]['user_data_dou'] = isset($user_datas[$va['orderId']])?$user_datas[$va['orderId']]:'';
}
}
}
}
$goods = DB::table('pj_goods')->select('pg_id','brand_name','pg_series','version','goods_pic_path','national_version')->get()->toarray();
$goods = CommonService::jointArrayKey($goods, 'pg_id');
$ip = $_SERVER["REMOTE_ADDR"];
// CommonService::addLog('token3', json_encode($order_data), $v['pt_id'],'jd_token');
foreach ($order_data as $kk=>$vv) {
$order_info = OrderService::getOrderBy('order_num', $vv['orderId'],['id','order_status','lock_type','sys_num','order_num','p_id','ser_id','create_time','new_customer_id','lock_type','company_id']);
$order_info = CommonService::dataToArray($order_info);
if(!empty($order_info)&&in_array($vv['orderState'], ['TRADE_CANCELED','POP_ORDER_PAUSE','LOCKED'])){
if($order_info['lock_type']==2||in_array($order_info['order_status'], [50,55])){
continue;
}else{
$datar['allprice'] = $vv['orderTotalPrice'];
$goods_arr = OrderMsg::where('sys_num',$order_info['sys_num'])->get(['id as msg_id','goods_name','goods_price','goods_id as good_id']);
$datar['goodsArr'] = CommonService::dataToArray($goods_arr);
$datar['goods_state'] = 2;//2:平台; 4:财务
$datar['sys_num'] = $order_info['sys_num'];
$datar['order_num'] = $order_info['order_num'];
$datar['apply_type'] = 1;
$datar['content'] = $vv['orderStateRemark'];
$datar['p_id'] = $order_info['p_id'];
$datar['ser_id'] = $order_info['ser_id'];
$datar['new_customer_id'] = $order_info['new_customer_id'];
$datar['order_status'] = $order_info['order_status'];
$datar['create_time'] = $order_info['create_time'];
$userArr = User::where('id',$order_info['new_customer_id'])->first();
$session['admin_groupnew'] = 7;
$session['admin_acc'] = '系统录入';
$session['id'] = 1133;
$session['company_id'] = $order_info['company_id'];
$ret = OrderService::lockByRefund($datar , $session , $userArr);
CommonService::addLog('取消订单', json_encode($ret), $vv['orderId'],'JDPOP-cancel');
continue;
}
}
// CommonService::addLog('token4', json_encode( $vv['orderId']), $v['pt_id'],'jd_token');
$exsit = OrderService::getOrderBy('order_num', $vv['orderId'],['id']);
$eisit_jd = DB::table('jd_proprietary')->where('order_id',$vv['orderId'])->value('id');
if(!$exsit||!$eisit_jd){
$flag = 1;
unset($skuId);
foreach( $vv['itemInfoList'] as $ka => $va ){
$skuId[] = "'".$va['skuId']."'";
}
$goodids = DB::table("jd_bound")->whereRaw("sku_id in (".implode(',',$skuId).")")->pluck('goods_id','sku_id')->toarray();
if(empty($goodids)){
CommonService::addLog('无sku', json_encode($skuId), $vv['orderId'],'JDPOP-无sku');
$flag = 2;
}
if($goodids){
if(count($goodids)<count($vv['itemInfoList'])){
$flag = 2;
}
}
//解密
if(isset($vv['user_data_dou'])){
$str = $vv['user_data_dou']['customerName'];
}else {
$str = $vv['consigneeInfo']['fullname'];
}
$datafullname['accessToken'] = $jdpop_token['access_token'];//'e0a1c90e617f4b3a9865ed059f99c5f42ztb';
$datafullname['appKey'] = $jdpop_token['app_key'];;//'41D9668E8CB81C9890A065BEC300FD84';
$datafullname['appSecret'] = $jdpop_token['app_secret'];//'93bff142bf5c4422ae7bec9eb992e751';
$fullname = $this->decrypt($datafullname,$str,$vv['orderId']);
if(strpos($fullname,'<body>' )!==false){
//存另一数据库中
//是否存在
$exs_code = DB::table('jdpop_encode')->where('order_id',$vv['orderId'])->value('id');
if($exs_code){
DB::table('jdpop_encode')->where('order_id',$vv['orderId'])->update(['name_code'=>$vv['consigneeInfo']['fullname']]);
}else{
DB::table('jdpop_encode')->insert(['order_id'=>$vv['orderId'],'pt_id'=>$jdpop_token['pt_id'],'name_code'=>$vv['consigneeInfo']['fullname']]);
}
$fullname = '无';
}else{
$reaa = $this->https_request('http://116.196.75.172/index.php/SaasServiceGetOrder/addCzrz',['appKey'=>$jdpop_token['app_key'],'appSecret'=>$jdpop_token['app_secret'],'accessToken'=>$jdpop_token['access_token'],'device_id'=>'00:16:3e:03:8a:07','user_id'=>'jdhadmin','jd_id'=>$jdpop_token['store_name'],'url'=>'SynJdPopData/getuser','orderId'=>$vv['orderId'],'receiver_name'=>$fullname]);
}
$fullname = $fullname??$vv['consigneeInfo']['fullname'];
if(isset($vv['user_data_dou'])){
$Address = $vv['user_data_dou']['address'];
}else {
$Address = $vv['consigneeInfo']['fullAddress'];
}
$fullAddress = $this->decrypt($datafullname,$Address,$vv['orderId']);
if(strpos($fullAddress,'<body>' )!==false){
//存另一数据库中
//是否存在
$exs_code = DB::table('jdpop_encode')->where('order_id',$vv['orderId'])->value('id');
if($exs_code){
DB::table('jdpop_encode')->where('order_id',$vv['orderId'])->update(['address_code'=>$vv['consigneeInfo']['fullAddress']]);
}else{
DB::table('jdpop_encode')->insert(['order_id'=>$vv['orderId'],'address_code'=>$vv['consigneeInfo']['fullAddress'],'pt_id'=>$jdpop_token['pt_id']]);
}
$fullAddress = '无';
}else{
$reaa = $this->https_request('http://116.196.75.172/index.php/SaasServiceGetOrder/addCzrz',['appKey'=>$jdpop_token['app_key'],'appSecret'=>$jdpop_token['app_secret'],'accessToken'=>$jdpop_token['access_token'],'device_id'=>'00:16:3e:03:8a:07','user_id'=>'jdhadmin','jd_id'=>$jdpop_token['store_name'],'url'=>'SynJdPopData/getuser','orderId'=>$vv['orderId'],'receiver_addr'=>$fullAddress]);
}
$fullAddress = $fullAddress??$vv['consigneeInfo']['fullAddress'];
$fullAddress = str_replace("'", '', $fullAddress);
$resjdgoods = DB::table('jdgoods')->where("order_id",$vv['orderId'])->value('id');
unset($orderMsgData);
foreach( $vv['itemInfoList'] as $ka => $va ){
if(!$resjdgoods){
$sql_dgoods .= "('".$vv['orderId']."',".$jdpop_token['pt_id'].",'".$va['skuId']."','".$va['skuName']."','".$va['itemTotal']."','".$va['jdPrice']."','0'),";
if(in_array($vv['orderId'], $arr_goods)){
unset($arr_goods[$kk]);
}
$arr_goods[$kk]['order_id'] = $vv['orderId'];
$arr_goods[$kk]['pt_id'] = $jdpop_token['pt_id'];
$arr_goods[$kk]['sku_id'] = $va['skuId'];
$arr_goods[$kk]['item_total'] = $va['itemTotal'];
$arr_goods[$kk]['jd_price'] = $va['itemTotal'];
$arr_goods[$kk]['jd_cost'] = $va['jdPrice'];
$arr_goods[$kk]['sku_name'] = $va['skuName'];
DB::table('jdgoods')->insert($arr_goods[$kk]);
unset($arr_goods[$kk]);
}
$sys_num = 'L'.$jdpop_token['pt_id'].'P'.$kk.date("YmdHis").str_pad(rand(0,999),3,'0',STR_PAD_LEFT);
if($flag==1) {
$goodid = $goodids[$va['skuId']];
if($goodid){
$goods_res = $goods[$goodid];
if($goods_res['pg_series']==''){
$type = $goods_res['version'];
}else{
$type = $goods_res['pg_series']."-".$goods_res['version'];
}
$goods_name = $goods_name.$goods_res['brand_name'].",".$type.",".$goods_res['general_version'].",";
$good_brand[] = $goods_res['brand_name'];
$orderMsgData[$ka]['goods_id'] = $goodid;
$orderMsgData[$ka]['goods_name'] = $goods_res['brand_name']."-".$type;
$orderMsgData[$ka]['goods_price'] = $va['jdPrice'];//实收/商品单价
// $orderMsgData['goods_paid'] = $va['jdPrice'];//应收
$orderMsgData[$ka]['goods_num'] = $va['itemTotal'];
$orderMsgData[$ka]['goods_brand'] = $goods_res['brand_name'];
$orderMsgData[$ka]['goods_number'] = $type;
$orderMsgData[$ka]['cd_id'] = 1;
// dump($orderMsgData);
}
}
}
//添单
//转换手机号
// $data['pt_name'] = $pt_name;//店铺名
$data_m[$kk]['order_id'] = $vv['orderId'];
$data_m[$kk]['appkey'] = $jdpop_token['app_key']; //appkey
$data_m[$kk]['appsecret'] = $jdpop_token['app_secret']; //secret
$data_m[$kk]['acctoken'] = $jdpop_token['access_token']; //token
$tel = $this->changeTelphone($data_m[$kk]);
$this->https_request('http://116.196.75.172/index.php/SaasServiceGetOrder/addCzrz',['appKey'=>$jdpop_token['app_key'],'appSecret'=>$jdpop_token['app_secret'],'accessToken'=>$jdpop_token['access_token'],'device_id'=>'00:16:3e:03:8a:07','user_id'=>'jdhadmin','jd_id'=>$jdpop_token['store_name'],'url'=>'SynJdPopData/getuser','orderId'=>$vv['orderId'],'receiver_phone'=>$tel]);
if($flag==1){
$orders[$kk]['sys_bh'] = $sys_num;
$orders[$kk]['skb_bh'] = $vv['orderId'];
$orders[$kk]['pt_id'] = $jdpop_token['pt_id'];
$orders[$kk]['ser_type'] = 1;//服务类型:1上门安装,2到店服务
$orders[$kk]['shr_name'] = $fullname;
$orders[$kk]['shr_phone'] = $tel??$vv['consigneeInfo']['telephone'];//$vv['consigneeInfo']['telephone'];//
$orders[$kk]['shr_sheng'] = $vv['consigneeInfo']['province'];//
$orders[$kk]['shr_shi'] = $vv['consigneeInfo']['city'];//
$orders[$kk]['shr_xian'] = $vv['consigneeInfo']['county'];//
$orders[$kk]['shr_adress'] = $fullAddress;//
$orders[$kk]['shr_other'] = '接单后10分钟内务必联系客户核实车型跟安装时间!不断电安装、如果无法完成 请立刻反馈我们处理~!';
$orders[$kk]['car_audit'] = 2;//1:新订单;2:可派单;3:处理中
$orders[$kk]['order_type'] = 1;//订单类型:1:普通;20加急;10:夜间
$orders[$kk]['order_time'] = $vv['orderStartTime'];
$orders[$kk]['pay_type'] = 1;//支付方式:1在线支付;2货到付款
$orders[$kk]['goods'] = $orderMsgData;
// $orders[$kk]['clientAccount'] = $fullpin;
// $session = $request->get('session_token');//获取操作人信息
$session['admin_groupnew'] = 7;
$session['admin_acc'] = '系统录入';
$session['id'] = 164;
$session['company_id'] = $company_id;
// dump($orders[$kk]);
$return = OrderaddService::addOrder($orders[$kk], $session, $ip);
// dump($return);
CommonService::addLog('添加定单', json_encode($return), $vv['orderId'],'jd_addOrder');
// $return['ErrorCode'] = 2;
if($return['ErrorCode']==1 && $company_id!=14){
//调用京东出库
$res_ex = [];
$res_ex['appKey'] = $jdpop_token['app_key']; //appkey
$res_ex['appSecret'] = $jdpop_token['app_secret'];//secret
$res_ex['accessToken'] = $jdpop_token['access_token']; //token
$res_ex['skb_bh'] = $vv['orderId'];//$vv['orderId'];
$res_ex['jdid'] = 1274;
$res_ex['kd_number'] = '';
$res_ex['estimateDate'] = date("Y-m-d H:i:s");
// $result = $this->request_post($url_ex,$res_ex);//出库同步
$filename = 'pop_ex'.date('Ym');
CommonService::addLog('出库', json_encode($res_ex), $vv['orderId'],$filename);
// $reta = json_decode($result,true);
// if($reta['jingdong_pop_order_shipment_responce']['sopjosshipment_result']['success']==true){
// CommonService::addLog('添单成功出库', $result, $vv['orderId'],$filename);
// }else{
// CommonService::addLog('添单出库失败', $result, $vv['orderId'],$filename);
// }
$newOrderId = true;
}else{
$newOrderId = false;
}
}
$rea = DB::table('jd_proprietary')->where("order_id",$vv['orderId'])->value('id');
if (!$newOrderId || $flag=='2'){
//echo '添加订单信息失败';
if(!$rea){
if(in_array($vv['orderId'], array_column($arr, 'order_id'))){
unset($arr[$kk]);
}
$arr[$kk]['order_id'] = $vv['orderId'];
$arr[$kk]['admin_acc'] = '系统录入';
$arr[$kk]['pt_id'] = $jdpop_token['pt_id'];
$arr[$kk]['pay_type'] = $vv['payType'];
$arr[$kk]['order_seller_price'] = $vv['orderSellerPrice'];
$arr[$kk]['freight_price'] = $vv['freightPrice'];
$arr[$kk]['order_state'] = $vv['orderState'];//'WAIT_SELLER_STOCK_OUT';
$arr[$kk]['invoice_info'] = '不需要开具发票';
$arr[$kk]['order_remark'] = '';
$arr[$kk]['order_start_time'] = $vv['orderStartTime'];
$arr[$kk]['fullname'] = $fullname;
$arr[$kk]['mobile'] = $tel??$vv['consigneeInfo']['mobile'];
$arr[$kk]['telephone'] = $tel??$vv['consigneeInfo']['telephone'];//
$arr[$kk]['province'] = $vv['consigneeInfo']['province'];
$arr[$kk]['city'] = $vv['consigneeInfo']['city'];
$arr[$kk]['county'] = $vv['consigneeInfo']['county'];
$arr[$kk]['full_address'] = $fullAddress;
$arr[$kk]['order_pay'] = $vv['orderPayment'];
$arr[$kk]['is_show'] = 1;
$arr[$kk]['parent_orderid'] = $vv['parentOrderId'];
DB::table('jd_proprietary')->insert($arr[$kk]);
unset($arr[$kk]);
}
}else{
$reas = DB::table('jd_proprietary')->where("order_id",$vv['orderId'])->value('id');
if(!$reas){
if(in_array($vv['orderId'], array_column($arr, 'order_id'))){
unset($arr[$kk]);
}
$arr[$kk]['order_id'] = $vv['orderId'];
$arr[$kk]['admin_acc'] = '系统录入';
$arr[$kk]['pt_id'] = $jdpop_token['pt_id'];
$arr[$kk]['pay_type'] = $vv['payType'];
$arr[$kk]['order_seller_price'] = $vv['orderSellerPrice'];
$arr[$kk]['freight_price'] = $vv['freightPrice'];
$arr[$kk]['order_state'] = 'WAIT_SELLER_STOCK_OUT';
$arr[$kk]['invoice_info'] = '不需要开具发票';
$arr[$kk]['order_remark'] = '';
$arr[$kk]['order_start_time'] = $vv['orderStartTime'];
$arr[$kk]['fullname'] = $fullname;
$arr[$kk]['mobile'] = $tel??$vv['consigneeInfo']['mobile'];
$arr[$kk]['telephone'] = $vv['consigneeInfo']['mobile'];//
$arr[$kk]['province'] = $vv['consigneeInfo']['province'];
$arr[$kk]['city'] = $vv['consigneeInfo']['city'];
$arr[$kk]['county'] = $vv['consigneeInfo']['county'];
$arr[$kk]['full_address'] = $fullAddress;
$arr[$kk]['order_pay'] = $vv['orderPayment'];
$arr[$kk]['is_show'] = 1;
$arr[$kk]['parent_orderid'] = $vv['parentOrderId'];
DB::table('jd_proprietary')->insert($arr[$kk]);
unset($arr[$kk]);
}
}
}
}
}
}
return $this->success('操作成功', []);
}
/** /**
* @name 手机号转换 * @name 手机号转换
* @param $data * @param $data
......
...@@ -1435,7 +1435,7 @@ class MyTestController extends BaseController ...@@ -1435,7 +1435,7 @@ class MyTestController extends BaseController
$rec = RechargeOrder::insert($cxtk); $rec = RechargeOrder::insert($cxtk);
//更改已取消退款状态 //更改已取消退款状态
$red = RechargeOrder::whereIn('reo_id',$reo_id) $red = RechargeOrder::whereIn('reo_id',$reo_id)
->update(['reo_refund'=>3]); ->update(['reo_refund'=>3,'reo_paid_money'=>$price]);
//公司账号退款充值 //公司账号退款充值
$update_rea = DB::table('admin_recharge') $update_rea = DB::table('admin_recharge')
->where('adre_company_id', $v)//公司id ->where('adre_company_id', $v)//公司id
......
...@@ -1849,4 +1849,35 @@ class CommonService extends Service{ ...@@ -1849,4 +1849,35 @@ class CommonService extends Service{
curl_close($curl); curl_close($curl);
return $output; return $output;
} }
/**
* 客户姓名 电话 地址 脱敏处理 20250707
* $str string 需要处理的字符串
* $type int 处理类型 1姓名 2手机号 3地址
*/
public static function hidePrivacy($str = '', $type = 0) {
if (empty($str) || empty($type)) return $str;
if ($type == 1) { // 姓名
$hiddenName = mb_substr($str, 0, 1, 'UTF-8') . '**';
return $hiddenName;
}
if ($type == 2) { // 电话
$hiddenMobile = substr($str, 0, 3) . '****' . substr($str, -4);
return $hiddenMobile;
}
if ($type == 3) { // 地址
// 隐藏详细门牌号部分
$str = preg_replace('/(\d{3})\d{4}(\d{4})/', '$1****$2', $str);
$hiddenAddress = preg_replace('/(区|镇|乡|街道|路|街|道|巷|弄|号|栋|单元|室|楼|社区)\d+/u', '$1**', $str);
$hiddenAddress = preg_replace('/(区|镇|乡|街道|路|街|道|巷|弄|号|栋|单元|室|楼|社区)[a-z A-Z]+/u', '$1**', $str);
$hiddenAddress = preg_replace('/(区|镇|乡|街道|路|街|道|巷|弄|号|栋|单元|室|楼|社区)[\x{4e00}-\x{9fa5}]{2}/u', '$1**', $hiddenAddress);
$hiddenAddress = preg_replace('/\d+/', '***', $hiddenAddress);
return $hiddenAddress;
}
return $str;
}
} }
...@@ -767,7 +767,10 @@ class OrderListService extends Service ...@@ -767,7 +767,10 @@ class OrderListService extends Service
} }
$list[$k]['cd_name'] = CategoryService::getNameByCdId($v['category']); $list[$k]['cd_name'] = CategoryService::getNameByCdId($v['category']);
//'shr_phone', 'shr_name', 'shr_sheng', 'shr_shi', 'shr_xian', 'shr_adress',
$list[$k]['shr_name_jm'] = CommonService::hidePrivacy($v['shr_name'],1);
$list[$k]['shr_phone_jm'] = CommonService::hidePrivacy($v['shr_phone'],2);
$list[$k]['shr_adress_jm'] = '********';//CommonService::hidePrivacy($v['shr_adress'],3);
//技师信息 //技师信息
if($v['install_id']){ if($v['install_id']){
$intallInfo = InstallPersonService::getInstallPersonById($v['install_id']); $intallInfo = InstallPersonService::getInstallPersonById($v['install_id']);
......
...@@ -686,7 +686,10 @@ class OrderService extends Service ...@@ -686,7 +686,10 @@ class OrderService extends Service
} }
$list[$k]['cd_name'] = CategoryService::getNameByCdId($v['category']);//订单类型 $list[$k]['cd_name'] = CategoryService::getNameByCdId($v['category']);//订单类型
//'shr_phone', 'shr_name', 'shr_sheng', 'shr_shi', 'shr_xian', 'shr_adress',
$list[$k]['shr_name_jm'] = CommonService::hidePrivacy($v['shr_name'],1);
$list[$k]['shr_phone_jm'] = CommonService::hidePrivacy($v['shr_phone'],2);
$list[$k]['shr_adress_jm'] = '********';//CommonService::hidePrivacy($v['shr_adress'],3);
/*---------------------------------------判定并获取联系人变更信息开始----------------------------------------------------*/ /*---------------------------------------判定并获取联系人变更信息开始----------------------------------------------------*/
if ($v['new_customer_id'] != $v['customer_id']) {//当订单联系人不等于安装联系人 if ($v['new_customer_id'] != $v['customer_id']) {//当订单联系人不等于安装联系人
$db = new User(); $db = new User();
......
...@@ -1146,6 +1146,7 @@ Route::group( ...@@ -1146,6 +1146,7 @@ Route::group(
Route::get('addOrderData', 'SynJdPopDataController@addOrderData');//添加京东 Route::get('addOrderData', 'SynJdPopDataController@addOrderData');//添加京东
Route::get('decOrder', 'SynJdPopDataController@decOrder');//定时解密 Route::get('decOrder', 'SynJdPopDataController@decOrder');//定时解密
Route::get('getRefundOrder', 'SynJdPopDataController@getRefundOrder');//定时解密 Route::get('getRefundOrder', 'SynJdPopDataController@getRefundOrder');//定时解密
Route::post('addPopOrder', 'SynJdPopDataController@addPopOrder');//添加pop订单
}); });
#平台服务 >> 京东自营订单 #平台服务 >> 京东自营订单
Route::group(['prefix'=>'SynJdSelfData'], function (){ Route::group(['prefix'=>'SynJdSelfData'], function (){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论