Example #1
0
 def luban_adv_info_en(self):
     read_csv = Kernal_function('luban/adv/info_en')
     return read_csv.api_get_answer()["resultCode"]
Example #2
0
 def user_member_sign(self):
     read_csv = Kernal_function('user/member/sign')
     return read_csv.api_get_answer()["resultCode"]
    def users_uId_devices(self):

        read_csv = Kernal_function('users/uId/devices')
        return read_csv.iot_get_answer()["resultCode"]
Example #4
0
 def reg_byemailcode(self):
     read_csv = Kernal_function('reg/byemailcode')
     return read_csv.sso_post_answer()["resultCode"]
Example #5
0
 def user_remove_user(self):
     read_csv = Kernal_function('user/remove/user')
     return read_csv.sso_get_answer()["resultCode"]
 def area_city(self):
     read_csv = Kernal_function('area/city')
     return read_csv.api_get_answer()["resultCode"]
 def login_logout(self):
     read_csv = Kernal_function('login/logout')
     return read_csv.sso_post_answer()["resultCode"]
Example #8
0
 def user_member_point_history(self):
     read_csv = Kernal_function('user/member/point/history')
     return read_csv.api_get_answer()["resultCode"]
Example #9
0
 def users_uId_users_devices_verify(self):
     read_csv = Kernal_function('users/uId/users-devices-verify')
     return read_csv.iot_post_answer()["resultCode"]
 def users_uId_devices_grant_deviceId_granteeUid(self):
     read_csv = Kernal_function(
         'users/uId/devices-grant/deviceId/granteeUid')
     return read_csv.iot_delete_answer()["resultCode"]
Example #11
0
 def partner_tokens(self):
     read_csv = Kernal_function('partner/tokens')
     return read_csv.api_post_answer()["resultCode"]
Example #12
0
 def widget_getUserWidgetInfo(self):
     read_csv = Kernal_function('widget/getUserWidgetInfo')
     return read_csv.api_get_answer()["resultCode"]
Example #13
0
 def users_uId_device_relation_deviceId(self):
     read_csv = Kernal_function('users/uId/device-relation/deviceId')
     return read_csv.iot_get_answer()["resultCode"]
Example #14
0
 def theme_getAllTheme(self):
     read_csv = Kernal_function('theme/getAllTheme')
     return read_csv.api_get_answer()["resultCode"]
Example #15
0
 def records_uId_devices_deviceId(self):
     read_csv = Kernal_function('records/uId/devices/deviceId')
     return read_csv.iot_get_answer()["resultCode"]
 def users_uId_devices_resource_token1(self):
     read_csv = Kernal_function('users/uId/devices/resource-token1')
     return read_csv.iot_post_answer()["resultCode"]
Example #17
0
 def login_third_update(self):
     read_csv = Kernal_function('login/third/update')
     return read_csv.sso_post_answer()["resultCode"]
Example #18
0
 def tearDown(self):
     read_csv = Kernal_function('login/third/update_recover')
     read_csv.sso_post_answer()["resultCode"]
     self.loginbythird = None
Example #19
0
 def user_email_update(self):
     read_csv = Kernal_function('user/email/update')
     return read_csv.api_get_answer()["resultCode"]
Example #20
0
 def user_third_bind_phonecode(self):
     read_csv = Kernal_function('user/third/bind/phonecode')
     return read_csv.api_get_answer()["resultCode"]
Example #21
0
 def user_updatepass(self):
     read_csv = Kernal_function('user/updatepass')
     return read_csv.api_post_answer()["resultCode"]
 def users_uId_devices_deviceId_bound(self):
     read_csv = Kernal_function(
         'users/uId/devices/deviceId/bound-relation-code')
     return read_csv.iot_get_answer()["resultCode"]
Example #23
0
 def app_getAppInfo(self):
     read_csv = Kernal_function('app/getAppInfo')
     return read_csv.api_get_answer()["resultCode"]
 def users_uId_user_push(self):
     read_csv = Kernal_function('users/uId/user/push')
     return read_csv.iot_post_answer()["resultCode"]
Example #25
0
 def users_uId_devices_alarms_logs(self):
     read_csv = Kernal_function('users/uId/devices/alarms_logs')
     return read_csv.iot_post_answer()["resultCode"]
 def users_uId_saveDeviceKeyValue(self):
     read_csv = Kernal_function('users/uId/saveDeviceKeyValue')
     return read_csv.iot_post_answer()["resultCode"]
 def user_wechat_update(self):
     read_csv = Kernal_function('user/wechat/update')
     return read_csv.api_post_answer()["resultCode"]
Example #28
0
 def login_byphone(self):
     read_csv = Kernal_function('login/byphone')
     return read_csv.sso_post_answer()["resultCode"]
Example #29
0
 def users_uId_devices_grant(self):
     read_csv = Kernal_function('users/uId/devices-grant')
     return read_csv.iot_post_answer()["resultCode"]
Example #30
0
 def area_province(self):
     read_csv = Kernal_function('area/province')
     return read_csv.api_get_answer()["resultCode"]