Esempio n. 1
0
def update_show_field(args):
    setting_bussiness = SettingBiz()
    data = setting_bussiness.update_website_archived_setting2(args)
    return jsonify({"status": True, "data": data}), 201
Esempio n. 2
0
def get_service_setting():
    setting_bussiness = SettingBiz()
    data = setting_bussiness.get_group_settings(group="service")
    return jsonify({
        "status": True, "data": data
    }), 200
Esempio n. 3
0
def get_show_field():
    setting_bussiness = SettingBiz()
    data = setting_bussiness.get_website_archived_setting2()
    return jsonify({"status": True, "data": data}), 200
Esempio n. 4
0
def update_service_setting(args):
    setting_bussiness = SettingBiz()
    data = setting_bussiness.update_group_settings(args, group="service")
    return jsonify({
        "status": True, "data": data
    }), 201