Explorar o código

修改订单发送提醒环境

kevin_zhangl %!s(int64=3) %!d(string=hai) anos
pai
achega
b54ddb33ca
Modificáronse 1 ficheiros con 2 adicións e 6 borrados
  1. 2 6
      console/controllers/ToolController.php

+ 2 - 6
console/controllers/ToolController.php

@@ -179,9 +179,7 @@ class ToolController extends BaseController
      * 自动送钉钉提醒
      */
     public function actionAutoSendDingTalkFrontend() {
-//        $ip = 'https://ng-frontend-api.elken.com';
-//        $ip = 'http://16.163.228.151:8026';
-        $ip = 'http://local.ng.frontend.api.com';
+        $ip = 'https://ng-frontend-api.elken.com';
         $curl = curl_init();
         curl_setopt($curl, CURLOPT_URL, $ip . '/v1/site/send-notice');
         curl_setopt($curl, CURLOPT_TIMEOUT, 5000);
@@ -201,9 +199,7 @@ class ToolController extends BaseController
      * 自动送钉钉提醒
      */
     public function actionAutoSendDingTalkBackend() {
-//        $ip = 'https://ng-frontend-api.elken.com';    // Prod
-//        $ip = 'http://16.163.228.151:8026';   // test
-        $ip = 'http://local.ng.backend.api.com';    // dev
+        $ip = 'https://ng-frontend-api.elken.com';    // Prod
         $curl = curl_init();
         curl_setopt($curl, CURLOPT_URL, $ip . '/v1/site/send-notice');
         curl_setopt($curl, CURLOPT_TIMEOUT, 5000);