프로젝트

일반

사용자정보

개정판 297a92d0

ID297a92d0de2ba96fdf7758b4d74f2135563b7e87
상위 0131c64f
하위 e5d77672

함의성이(가) 약 2년 전에 추가함

license test

Change-Id: I73eb420858da2887faea67b0ab836d97dd14758a

차이점 보기:

DTI_PID/DTI_PID/License.py
166 166
            if configs and 1 == len(configs) and 3 == len(configs[0].value.split('.')):
167 167
                key = '795hi#(7qq5&p#f3ysa#n-449h8g_n95olca)b%t23s7!w%v0m'
168 168
                """license type 2"""
169
                #api, headers = 'http://devdoftech.co.kr:5100/api/License/Count', \
169 170
                api, headers = 'http://smartfeedwebapi.azurewebsites.net/api/License/Count', \
170 171
                               {'Content-Type': 'application/json; charset=utf-8', 'x-auth-token': configs[0].value}
171 172
                response = requests.post(api, headers=headers)
......
198 199

  
199 200
    @staticmethod
200 201
    def get_mac_address(remote_server="smartfeedweb.azurewebsites.net") -> str:
202
    #def get_mac_address(remote_server="http://devdoftech.co.kr:5100") -> str:
201 203
        """ Return the/a network-facing mac-address of device for this system. """
202 204
        import getmac
203 205
        import socket

내보내기 Unified diff