huangbin 4 years ago
parent
commit
786606c635

+ 1 - 1
public/config/app.config.json

@@ -1,3 +1,3 @@
 {
-    "apiUrl": "http://192.168.31.176:8080/cfg?key=test_176"
+    "apiUrl": "http://218.17.158.45:21001/cfg?key=test_176"
 }

+ 2 - 2
src/common/setup/table/button.ts

@@ -12,8 +12,8 @@ import { BtnClassName, BtnList, ButtonListKey } from './interface';
  */
 function getClassName(val: string): BtnClassName {
     let result: BtnClassName = 'btnDeafault'
-    const btnDanger = ['disable', 'cancle', 'cancel', 'delete', 'logout', 'locked']
-    const operBtn = ['add', 'modify', 'reset', 'credit']
+    const btnDanger = ['disable', 'cancle', 'cancel', 'delete', 'logout', 'locked', 'refuse']
+    const operBtn = ['add', 'modify', 'reset', 'credit', 'payment', 'confirm_withdrawal']
     const map = new Map<BtnClassName, string[]>([
         ['btnDanger', btnDanger],
         ['operBtn', operBtn],

+ 2 - 0
src/services/request/serviceURL.ts

@@ -83,4 +83,6 @@ export const setServiceURL = (config: URL): void => {
         serviceURL.tradeUrl = 'ws://218.17.158.45:21005';
     }
     serviceURL = config;
+    console.log(serviceURL);
+
 };