프로젝트

일반

사용자정보

개정판 bb772d56

IDbb772d563cadcdee4ae27f6082e95eacafc31145
상위 9795b639
하위 95cda1f9

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

change license

Change-Id: Ibb31a202df57945660fc8402ab58f0c1ebe9950d

차이점 보기:

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', \
170
                api, headers = 'http://smartfeedwebapi.azurewebsites.net/api/License/Count', \
169
                #api, headers = 'http://smartfeedwebapi.azurewebsites.net/api/License/Count', \
170
                api, headers = 'http://devdoftech.co.kr:5200/api/License/Count', \
171 171
                               {'Content-Type': 'application/json; charset=utf-8', 'x-auth-token': configs[0].value}
172 172
                response = requests.post(api, headers=headers)
173 173
        finally:
......
198 198
        return "".join(dec)
199 199

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

내보내기 Unified diff