diff --git a/app/manager/controller/SellInfo.php b/app/manager/controller/SellInfo.php index a15dbda..b24979d 100644 --- a/app/manager/controller/SellInfo.php +++ b/app/manager/controller/SellInfo.php @@ -150,7 +150,7 @@ class SellInfo extends Controller $data['ros_active'] = "ROS订单:" . $sell_money_list['ros_1']; $data['jinqiao_active'] = "金桥订单:" . $sell_money_list['jinqiao_1']; $data['other_order_not_active'] = "其他IP产品:" . $sell_money_list['other_order_0']; - $data['self_order_not_active'] = "其他IP产品:" . $sell_money_list['self_order_0']; + $data['self_order_not_active'] = "自营IP产品:" . $sell_money_list['self_order_0']; // $data['mogu_order_not_active'] = "蘑菇IP产品:" . $sell_money_list['mogu_order_0']; // $data['jihu_order_not_active'] = "极狐IP产品:" . $sell_money_list['jihu_order_0']; // $data['jiguang_order_not_active'] = "极光IP产品:" . $sell_money_list['jiguang_order_0']; diff --git a/app/product/controller/Account.php b/app/product/controller/Account.php new file mode 100644 index 0000000..1e76e94 --- /dev/null +++ b/app/product/controller/Account.php @@ -0,0 +1,36 @@ + $data['productId'], + 'DeleteTag' => 0, + 'Account' => ['IN', explode(',', $data['accounts'])] + ]; + + $account_model = new AccountModel; + + $account_model->updateOne($where, ['Pwd' => $data['pwd']]); + + if ($data['productId'] == 18) { + $url = "http://rds-api.juip.com/api/agent/changeManyPasswd/accts/".$data['accounts'].'/pass/'.$data['pwd']; + } elseif ($data['productId'] == 29) { + $url = "http://124.236.113.166:18702/api/agent/changeManyPasswd/apikey/80cf4f64e990b78a9fc5eb/accts/".$data['accounts'].'/pass/'.$data['pwd']; + } elseif ($data['productId'] == 3 || $data['productId'] == 26) { + $url = "http://106.119.166.87:18702/api/agent/changeManyPasswd/apikey/80cf4f64e990b78a9fc5eb/accts/".$data['accounts'].'/pass/'.$data['pwd']; + } + linkcurl($url,'GET',[],[],0); + echo json_encode(['Code'=>10000,]); + } +}